diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-03-15 14:30:57 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-03-22 10:36:10 (GMT) |
commit | d6583327827a7d53b358cbec03186293c4a5d53d (patch) | |
tree | 3b8a74c1aaafb03013aea079fe831b841d989335 /Tests/RunCMake | |
parent | e4039a8e34d3ac01abb88851cacc5eb043a0cbc2 (diff) | |
download | CMake-d6583327827a7d53b358cbec03186293c4a5d53d.zip CMake-d6583327827a7d53b358cbec03186293c4a5d53d.tar.gz CMake-d6583327827a7d53b358cbec03186293c4a5d53d.tar.bz2 |
Genex-LINK_GROUP: Add support feature RESCAN on BSD systems
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/target_link_libraries-LINK_GROUP/RunCMakeTest.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/target_link_libraries-LINK_GROUP/RunCMakeTest.cmake b/Tests/RunCMake/target_link_libraries-LINK_GROUP/RunCMakeTest.cmake index 8307bb2..400905c 100644 --- a/Tests/RunCMake/target_link_libraries-LINK_GROUP/RunCMakeTest.cmake +++ b/Tests/RunCMake/target_link_libraries-LINK_GROUP/RunCMakeTest.cmake @@ -63,7 +63,7 @@ if ((RunCMake_GENERATOR MATCHES "Makefiles|Ninja|Xcode" endif() # Feature RESCAN -if (CMAKE_SYSTEM_NAME STREQUAL "Linux" +if (CMAKE_SYSTEM_NAME MATCHES "Linux|BSD" OR (CMAKE_SYSTEM_NAME STREQUAL "SunOS" AND (NOT CMAKE_C_COMPILER_ID STREQUAL "SunPro" OR CMAKE_C_COMPILER_VERSION VERSION_GREATER "5.9")) OR (WIN32 AND CMAKE_C_COMPILER_ID STREQUAL "GNU")) run_cmake(rescan) |