CMAKE_LINK_DIRECTORIES_BEFORE

From Get docs
Cmake/docs/3.21/variable/cmake link directories before


CMAKE_LINK_DIRECTORIES_BEFORE

New in version 3.13.


Whether to append or prepend directories by default in link_directories().

This variable affects the default behavior of the link_directories() command. Setting this variable to ON is equivalent to using the BEFORE option in all uses of that command.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_LINK_DIRECTORIES_BEFORE.html