We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4ab2679 + 550acab commit f7b3134Copy full SHA for f7b3134
cmake/GlobalOptions.cmake
@@ -17,6 +17,9 @@ include(InstallRequiredSystemLibraries)
17
set(CMAKE_CXX_STANDARD_REQUIRED ON)
18
set(CMAKE_CXX_EXTENSIONS OFF)
19
set(CMAKE_COLOR_DIAGNOSTICS ON)
20
+if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.29)
21
+ set(CMAKE_LINKER_TYPE "SYSTEM")
22
+endif()
23
24
find_program(CLANG_TIDY "clang-tidy")
25
if(CLANG_TIDY)
0 commit comments