CMake/Tests/CMakeCommands/find_package/MissingNormalRequired.cmake
Brad King c5ae733166 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.
2012-03-07 11:34:59 -05:00

3 lines
88 B
CMake

find_package(NotHere REQUIRED)
message(FATAL_ERROR "This error must not be reachable.")