diff options
author | Christian Schmidbauer <ch.schmidbauer@gmail.com> | 2017-02-25 18:47:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-01 14:49:42 (GMT) |
commit | 503f25d490e56dfc1d3dc894e1fc1bd3e7e89e81 (patch) | |
tree | c5e35271ce09ec7fba4fcef5d176ed17676470e9 /Help/prop_gbl | |
parent | 78104bd7bca4bd9b4b7a5c17622838a33843138e (diff) | |
download | CMake-503f25d490e56dfc1d3dc894e1fc1bd3e7e89e81.zip CMake-503f25d490e56dfc1d3dc894e1fc1bd3e7e89e81.tar.gz CMake-503f25d490e56dfc1d3dc894e1fc1bd3e7e89e81.tar.bz2 |
find_library: Allow custom lib suffix be used as find path
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.
Diffstat (limited to 'Help/prop_gbl')
-rw-r--r-- | Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst | 2 | ||||
-rw-r--r-- | Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst index ce18b65..8396026 100644 --- a/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst +++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIB32_PATHS.rst @@ -8,3 +8,5 @@ Whether the :command:`find_library` command should automatically search :command:`find_library` command should automatically search the ``lib32`` variant of directories called ``lib`` in the search path when building 32-bit binaries. + +See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable. diff --git a/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst index e52f8eb..ed343ba 100644 --- a/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst +++ b/Help/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.rst @@ -8,3 +8,5 @@ FIND_LIBRARY_USE_LIB64_PATHS is a boolean specifying whether the :command:`find_library` command should automatically search the lib64 variant of directories called lib in the search path when building 64-bit binaries. + +See also the :variable:`CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable. |