summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/CMP0084-NEW.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/CMP0084-NEW.cmake')
-rw-r--r--Tests/RunCMake/find_package/CMP0084-NEW.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/CMP0084-NEW.cmake b/Tests/RunCMake/find_package/CMP0084-NEW.cmake
new file mode 100644
index 0000000..68fd6cf
--- /dev/null
+++ b/Tests/RunCMake/find_package/CMP0084-NEW.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0084 NEW)
+set(_findqt_testing TRUE)
+find_package(Qt MODULE)
+
+if(_findqt_included)
+ message(FATAL_ERROR "FindQt.cmake erroneously included")
+endif()