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