Tests: Reorder CMP0129 test

Move the CMP0129 tests up to be with the other policy tests.
This commit is contained in:
Craig Scott
2022-03-23 14:17:43 +11:00
parent 89f2d779f2
commit 774a9eb210

View File

@@ -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()