12 lines
366 B
CMake
12 lines
366 B
CMake
|
@PACKAGE_INIT@
|
||
|
|
||
|
set(_supported_components Addition SquareRoot)
|
||
|
|
||
|
foreach(_comp ${MathFunctions_FIND_COMPONENTS})
|
||
|
if (NOT _comp IN_LIST _supported_components)
|
||
|
set(MathFunctions_FOUND False)
|
||
|
set(MathFunctions_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
|
||
|
endif()
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/MathFunctions${_comp}Targets.cmake")
|
||
|
endforeach()
|