summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/find_package/MissingNormal.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-03-07 16:34:59 (GMT)
committerBrad King <brad.king@kitware.com>2012-03-07 16:34:59 (GMT)
commitc5ae73316634b0d1fe56272ab011eefd9cb80e47 (patch)
tree4fa219ee84a781bcf0bd21b4bdb6c682b0427138 /Tests/CMakeCommands/find_package/MissingNormal.cmake
parentc91a54db3766aea8f8ab9d5a011db3bba67b12d4 (diff)
downloadCMake-c5ae73316634b0d1fe56272ab011eefd9cb80e47.zip
CMake-c5ae73316634b0d1fe56272ab011eefd9cb80e47.tar.gz
CMake-c5ae73316634b0d1fe56272ab011eefd9cb80e47.tar.bz2
find_package: Test that REQUIRED aborts processing correctly
Verify that the command produces a FATAL_ERROR if and only if the missing package is REQUIRED.
Diffstat (limited to 'Tests/CMakeCommands/find_package/MissingNormal.cmake')
-rw-r--r--Tests/CMakeCommands/find_package/MissingNormal.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/find_package/MissingNormal.cmake b/Tests/CMakeCommands/find_package/MissingNormal.cmake
index 778cd38..fb90e01 100644
--- a/Tests/CMakeCommands/find_package/MissingNormal.cmake
+++ b/Tests/CMakeCommands/find_package/MissingNormal.cmake
@@ -1 +1,2 @@
find_package(NotHere)
+message(WARNING "This warning must be reachable.")