mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 21:37:11 +00:00
8 lines
313 B
CMake
8 lines
313 B
CMake
file(READ "${RunCMake_TEST_BINARY_DIR}/export.cmake" content)
|
|
if(NOT content MATCHES [[VERSION_LESS "4\.5\.0"]])
|
|
set(RunCMake_TEST_FAILED "Export does not require CMake 4.5")
|
|
endif()
|
|
if(NOT content MATCHES [[PROPERTY LANGUAGE "CXX"]])
|
|
set(RunCMake_TEST_FAILED "Export does not preserve LANGUAGE CXX")
|
|
endif()
|