mirror of
https://github.com/reactos/CMake.git
synced 2024-12-20 10:38:08 +00:00
d81d83c218
As discussed on cmake-developers, this patch adds a macro check_required_components() to the file configured via configure_package_config_file(), so for proper handling of components in Config.cmake files users can simply call check_required_components(PackageName) and this will do the right thing. Alex
12 lines
328 B
CMake
12 lines
328 B
CMake
@PACKAGE_INIT@
|
|
|
|
set(RELOC_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
set(RELOC_SHARE_DIR "@PACKAGE_SHARE_INSTALL_DIR@")
|
|
set_and_check(RELOC_BUILD_DIR "@PACKAGE_CURRENT_BUILD_DIR@")
|
|
|
|
set(Relocatable_AComp_FOUND TRUE)
|
|
set(Relocatable_BComp_FOUND FALSE)
|
|
set(Relocatable_CComp_FOUND FALSE)
|
|
|
|
check_required_components(Relocatable)
|