CMake/Tests/RunCMake/FPHSA/FindBadFoundVar.cmake
Brad King f17711c546 FPHSA: Convert FOUND_VAR failure test to RunCMake
Move the Tests/FPHSA_InvalidFOUND_VAR test case over to a new
RunCMake.FPHSA test with a BadFoundVar case.  The RunCMake tests are
built to cover failure cases easily and robustly.
2013-02-22 08:57:11 -05:00

7 lines
203 B
CMake

set(BFV_FOO TRUE)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(BadFoundVar REQUIRED_VARS BFV_FOO
FOUND_VAR badfoundvar_FOUND )