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