summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2022-03-23 03:17:43 (GMT)
committerCraig Scott <craig.scott@crascit.com>2022-03-26 03:27:57 (GMT)
commit774a9eb210c09da97135cb733828752e627c96c7 (patch)
treee94447727750ebe6edad8fcc9ffe6eaaf2031854
parent89f2d779f245f2fe4c9921931699e3996af066a0 (diff)
downloadCMake-774a9eb210c09da97135cb733828752e627c96c7.zip
CMake-774a9eb210c09da97135cb733828752e627c96c7.tar.gz
CMake-774a9eb210c09da97135cb733828752e627c96c7.tar.bz2
Tests: Reorder CMP0129 test
Move the CMP0129 tests up to be with the other policy tests.
-rw-r--r--Tests/RunCMake/CMakeLists.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 1deb75f..fffbc6b 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -142,6 +142,12 @@ if (CMAKE_SYSTEM_NAME MATCHES "(Linux|Darwin)")
endif()
add_RunCMake_test(CMP0126)
+if("${CMAKE_C_COMPILER_ID}" STREQUAL "LCC" OR
+ "${CMAKE_CXX_COMPILER_ID}" STREQUAL "LCC" OR
+ "${CMAKE_Fortran_COMPILER_ID}" STREQUAL "LCC")
+ add_RunCMake_test("CMP0129")
+endif()
+
# The test for Policy 65 requires the use of the
# CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS variable, which both the VS and Xcode
# generators ignore. The policy will have no effect on those generators.
@@ -976,7 +982,3 @@ endif()
if(WIN32)
add_RunCMake_test(Win32GenEx)
endif()
-
-if("${CMAKE_C_COMPILER_ID}" STREQUAL "LCC" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "LCC" OR "${CMAKE_Fortran_COMPILER_ID}" STREQUAL "LCC")
- add_RunCMake_test("CMP0129")
-endif()