https://github.com/Kitware/CMake
Raw File
Tip revision: 1f25aa1a0ac61a0b3d5b0c4e2abc98c49cd159a5 authored by Brad King on 29 January 2024, 20:01:32 UTC
CMake 3.28.2
Tip revision: 1f25aa1
FindLotsOfComponents.cmake
set(LOC_FOO TRUE)

set(LotsOfComponents_AComp_FOUND TRUE)
set(LotsOfComponents_BComp_FOUND FALSE)
set(LotsOfComponents_CComp_FOUND TRUE)

include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)

find_package_handle_standard_args(LotsOfComponents REQUIRED_VARS LOC_FOO
                                                   HANDLE_COMPONENTS)
back to top