zmusic/cmake/ZMusicConfig.cmake.in

20 lines
464 B
CMake
Raw Normal View History

@PACKAGE_INIT@
set(_supported_components "Full;Lite")
if(NOT ZMusic_FIND_COMPONENTS)
set(ZMusic_FIND_COMPONENTS "${_supported_components}")
endif()
include(CMakeFindDependencyMacro)
foreach(_module @ZMUSIC_PACKAGE_DEPENDENCIES@)
find_dependency(${_module})
endforeach()
foreach(_comp ${ZMusic_FIND_COMPONENTS})
include("${CMAKE_CURRENT_LIST_DIR}/ZMusic${_comp}Targets.cmake")
set(ZMusic_${_comp}_FOUND TRUE)
endforeach()
check_required_components(ZMusic)