mirror of
https://github.com/reactos/CMake.git
synced 2024-12-21 11:09:08 +00:00
f17711c546
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.
7 lines
203 B
CMake
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 )
|