summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake')
-rw-r--r--Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake b/Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake
new file mode 100644
index 0000000..06fd6a6
--- /dev/null
+++ b/Tests/RunCMake/find_package/CMP0148-Libs-OLD.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0148 OLD)
+set(_FindPythonLibs_testing TRUE)
+find_package(PythonLibs MODULE)
+
+if(NOT _FindPythonLibs_included)
+ message(FATAL_ERROR "FindPythonLibs.cmake not included")
+endif()