We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e8be92 commit 4ef33ccCopy full SHA for 4ef33cc
CMakeLists.txt
@@ -13,6 +13,13 @@ option(ENABLE_GPERFTOOLS_PROFILER "Find and link gperftools profiler" OFF)
13
option(ENABLE_COVERAGE "Enable code coverage instrumentation (only enabled with BUILD_TESTING)" OFF)
14
option(ENABLE_STATIC_STDLIB "Link C++ stdlib statically" OFF)
15
16
+include(GNUInstallDirs)
17
+set(LIB_INSTALL_DIR "${CMAKE_INSTALL_LIBDIR}" CACHE PATH "")
18
+
19
+if(CMAKE_INSTALL_LIBDIR MATCHES "lib64$")
20
+ set(LIB_SUFFIX 64)
21
+endif()
22
23
function(check_macro_defined MACRO OUTPUT_VAR)
24
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
25
try_compile(result
0 commit comments