FIND_LIBRARY_USE_LIB64_PATHS
From Get docs
Cmake/docs/3.21/prop gbl/find library use lib64 paths
FIND_LIBRARY_USE_LIB64_PATHS
Whether find_library() should automatically search lib64 directories.
FIND_LIBRARY_USE_LIB64_PATHS is a boolean specifying whether the 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 CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX variable.
© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_gbl/FIND_LIBRARY_USE_LIB64_PATHS.html