summaryrefslogtreecommitdiffstats
path: root/Modules/CTestScriptMode.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CTestScriptMode.cmake')
-rw-r--r--Modules/CTestScriptMode.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/CTestScriptMode.cmake b/Modules/CTestScriptMode.cmake
new file mode 100644
index 0000000..146bdf1
--- /dev/null
+++ b/Modules/CTestScriptMode.cmake
@@ -0,0 +1,10 @@
+# This file is read by ctest in script mode (-S)
+
+# Determine the current system, so this information can be used
+# in ctest scripts
+include(CMakeDetermineSystem)
+
+# Also load the system specific file, which sets up e.g. the search paths.
+# This makes the FIND_XXX() calls work much better
+include(CMakeSystemSpecificInformation)
+