0
0
Fork 0
mirror of https://github.com/ZDoom/ZMusic.git synced 2025-03-22 10:21:07 +00:00
zmusic/cmake/ZMusicConfig.cmake.in

20 lines
464 B
CMake
Raw Permalink 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)