summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-06-15 21:13:10 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-06 15:38:10 (GMT)
commit727e3db07aa86134b1af442db2b0bc41b35edd74 (patch)
tree9a926b6041556857fe206e0c89c0de7cf0c22186 /Tests
parentf899563ae45972a3894c78a447d0767e86056b81 (diff)
downloadCMake-727e3db07aa86134b1af442db2b0bc41b35edd74.zip
CMake-727e3db07aa86134b1af442db2b0bc41b35edd74.tar.gz
CMake-727e3db07aa86134b1af442db2b0bc41b35edd74.tar.bz2
RunCMake/CXXModules: append to the test options
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/CXXModules/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
index 34d9d53..eb481fd 100644
--- a/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CXXModules/RunCMakeTest.cmake
@@ -104,7 +104,7 @@ function (run_cxx_module_test directory)
set(RunCMake_TEST_OPTIONS -DCMAKE_BUILD_TYPE=Debug)
endif ()
- set(RunCMake_TEST_OPTIONS
+ list(APPEND RunCMake_TEST_OPTIONS
"-DCMake_TEST_MODULE_COMPILATION_RULES=${CMake_TEST_MODULE_COMPILATION_RULES}"
${ARGN})
run_cmake("examples/${test_name}")