-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
clownaudioConfig.cmake.in
36 lines (29 loc) · 972 Bytes
/
clownaudioConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@PACKAGE_INIT@
if(NOT @BUILD_SHARED_LIBS@)
if(@CLOWNAUDIO_LIBVORBIS@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(vorbisfile REQUIRED IMPORTED_TARGET vorbisfile)
endif()
if(@CLOWNAUDIO_LIBFLAC@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(flac REQUIRED IMPORTED_TARGET flac)
endif()
if(@CLOWNAUDIO_LIBOPUS@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(opusfile REQUIRED IMPORTED_TARGET opusfile)
endif()
if(@CLOWNAUDIO_LIBSNDFILE@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(sndfile REQUIRED IMPORTED_TARGET sndfile)
endif()
if(@CLOWNAUDIO_LIBOPENMPT@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(libopenmpt REQUIRED IMPORTED_TARGET libopenmpt)
endif()
if(@libxmp-lite_FOUND@)
find_package(PkgConfig REQUIRED)
pkg_check_modules(libxmp-lite REQUIRED IMPORTED_TARGET libxmp-lite)
endif()
endif()
include("${CMAKE_CURRENT_LIST_DIR}/clownaudioTargets.cmake")
check_required_components(clownaudio)