CMake/Tests/FindPackageTest/FindSomePackage.cmake

7 lines
203 B
CMake
Raw Normal View History

set(SOP_FOO TRUE)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(SomePackage REQUIRED_VARS SOP_FOO
FOUND_VAR SomePackage_FOUND )