mirror of
https://github.com/reactos/CMake.git
synced 2025-01-09 05:00:35 +00:00
d1a6d15bcd
The UPPERCASE name was inconsistent with config-packages, the find_dependency macro, and even FPHSA itself, which expects components to be specified with names matching ExactCase. The FOUND_VAR was only permitted to have two possible values, and now both are set for compatibility. Document it as obsolete, and adjust the code for the same. Users of the variable should just remove it.
6 lines
156 B
CMake
6 lines
156 B
CMake
set(SOP_FOO TRUE)
|
|
|
|
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
|
|
|
find_package_handle_standard_args(SomePackage REQUIRED_VARS SOP_FOO)
|