summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/MissingConfigDebug.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/MissingConfigDebug.cmake')
-rw-r--r--Tests/RunCMake/find_package/MissingConfigDebug.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/MissingConfigDebug.cmake b/Tests/RunCMake/find_package/MissingConfigDebug.cmake
new file mode 100644
index 0000000..4e3bb22
--- /dev/null
+++ b/Tests/RunCMake/find_package/MissingConfigDebug.cmake
@@ -0,0 +1,4 @@
+set(CMAKE_FIND_DEBUG_MODE ON)
+find_package(NotHere CONFIG)
+message(WARNING "This warning must be reachable.")
+set(CMAKE_FIND_DEBUG_MODE OFF)