mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-27 14:12:09 +00:00
20 lines
464 B
CMake
20 lines
464 B
CMake
|
@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)
|