summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include/CMP0148-Interp-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/include/CMP0148-Interp-WARN.cmake')
-rw-r--r--Tests/RunCMake/include/CMP0148-Interp-WARN.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/include/CMP0148-Interp-WARN.cmake b/Tests/RunCMake/include/CMP0148-Interp-WARN.cmake
new file mode 100644
index 0000000..18f302d
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0148-Interp-WARN.cmake
@@ -0,0 +1,7 @@
+# Do not set CMP0148.
+set(_FindPythonInterp_testing 1)
+include(FindPythonInterp)
+
+if(NOT _FindPythonInterp_included)
+ message(FATAL_ERROR "FindPythonInterp.cmake not included")
+endif()