mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Add a new `CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable to allow use of a custom suffix on `lib` directory names. This is a more general option than that added by commit v3.7.0-rc1~504^2 (Teach find_library and find_package to search lib32 paths, 2016-06-10). It allows the find path to be more deterministic on custom setups. See discussion in #10287 and #15994.
12 lines
392 B
ReStructuredText
12 lines
392 B
ReStructuredText
CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX
|
|
------------------------------------
|
|
|
|
Specify a ``<suffix>`` to tell the :command:`find_library` command to
|
|
search in a ``lib<suffix>`` directory before each ``lib`` directory that
|
|
would normally be searched.
|
|
|
|
This overrides the behavior of related global properties:
|
|
|
|
* :prop_gbl:`FIND_LIBRARY_USE_LIB32_PATHS`
|
|
* :prop_gbl:`FIND_LIBRARY_USE_LIB64_PATHS`
|