summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/MissingConfigRequired.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/find_package/MissingConfigRequired.cmake')
-rw-r--r--Tests/RunCMake/find_package/MissingConfigRequired.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/find_package/MissingConfigRequired.cmake b/Tests/RunCMake/find_package/MissingConfigRequired.cmake
new file mode 100644
index 0000000..0ae6702
--- /dev/null
+++ b/Tests/RunCMake/find_package/MissingConfigRequired.cmake
@@ -0,0 +1,2 @@
+find_package(NotHere CONFIG REQUIRED)
+message(FATAL_ERROR "This error must not be reachable.")