We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bcedc9 commit 682db94Copy full SHA for 682db94
CMakeLists.txt
@@ -962,7 +962,9 @@ endif()
962
963
# Check what linux distribution is being used.
964
# This can be used to determine the default linker to use.
965
-cmake_host_system_information(RESULT DISTRO_NAME QUERY DISTRIB_PRETTY_NAME)
+if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.22")
966
+ cmake_host_system_information(RESULT DISTRO_NAME QUERY DISTRIB_PRETTY_NAME)
967
+endif()
968
969
# Which default linker to use. Prefer LLVM_USE_LINKER if it set, otherwise use
970
# our own defaults. This should only be possible in a unified (not stand alone)
0 commit comments