summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake')
-rw-r--r--Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake b/Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake
new file mode 100644
index 0000000000..53b60af26e
--- /dev/null
+++ b/Tests/RunCMake/find_package/CMP0148-Interp-WARN.cmake
@@ -0,0 +1,6 @@
+set(_FindPythonInterp_testing TRUE)
+find_package(PythonInterp MODULE)
+
+if(NOT _FindPythonInterp_included)
+ message(FATAL_ERROR "FindPythonInterp.cmake not included")
+endif()