CMake/Tests/RunCMake/find_package/SetFoundFALSE.cmake
Alex Neundorf 0cf84472d7 find_package: additional test for checking the error message
This patch adds a test which checks the error message, which is
produced in the case that a Config file has set Foo_FOUND to FALSE
by itself.

Alex
2012-03-13 16:56:52 -04:00

3 lines
88 B
CMake

set(SetFoundFALSE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
find_package(SetFoundFALSE CONFIG)