summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CXXModules/examples/cxx-modules-rules.cmake14
1 files changed, 2 insertions, 12 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/cxx-modules-rules.cmake b/Tests/RunCMake/CXXModules/examples/cxx-modules-rules.cmake
index da3c215..1016afd 100644
--- a/Tests/RunCMake/CXXModules/examples/cxx-modules-rules.cmake
+++ b/Tests/RunCMake/CXXModules/examples/cxx-modules-rules.cmake
@@ -1,15 +1,5 @@
-if (NOT EXISTS "${CMake_TEST_MODULE_COMPILATION_RULES}")
- message(FATAL_ERROR
- "The `CMake_TEST_MODULE_COMPILATION_RULES` file must be specified "
- "for these tests to operate.")
-endif ()
-
-include("${CMake_TEST_MODULE_COMPILATION_RULES}")
-
-if (NOT CMake_TEST_CXXModules_UUID STREQUAL "a246741c-d067-4019-a8fb-3d16b0c9d1d3")
- message(FATAL_ERROR
- "The compilation rule file needs updated for changes in the test "
- "suite. Please see the history for what needs to be updated.")
+if (CMake_TEST_MODULE_COMPILATION_RULES)
+ include("${CMake_TEST_MODULE_COMPILATION_RULES}")
endif ()
include(CTest)