summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/include/CMP0148-Libs-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/include/CMP0148-Libs-WARN.cmake')
-rw-r--r--Tests/RunCMake/include/CMP0148-Libs-WARN.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/include/CMP0148-Libs-WARN.cmake b/Tests/RunCMake/include/CMP0148-Libs-WARN.cmake
new file mode 100644
index 0000000000..d8dc00c529
--- /dev/null
+++ b/Tests/RunCMake/include/CMP0148-Libs-WARN.cmake
@@ -0,0 +1,7 @@
+# Do not set CMP0148.
+set(_FindPythonLibs_testing 1)
+include(FindPythonLibs)
+
+if(NOT _FindPythonLibs_included)
+ message(FATAL_ERROR "FindPythonLibs.cmake not included")
+endif()