summaryrefslogtreecommitdiff
path: root/cmake/VorbisConfig.cmake.in
blob: 6ed0dd2b180d6d8faa5249bc20241ab619e6077a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
if(NOT TARGET Ogg::ogg)
    find_dependency(Ogg REQUIRED)
endif()

include(${CMAKE_CURRENT_LIST_DIR}/VorbisTargets.cmake)

set(Vorbis_Vorbis_FOUND 1)
set(Vorbis_Enc_FOUND 0)
set(Vorbis_File_FOUND 0)

if(TARGET Vorbis::vorbisenc)
    set(Vorbis_Enc_FOUND TRUE)
endif()
if(TARGET Vorbis::vorbisfile)
    set(Vorbis_File_FOUND TRUE)
endif()

check_required_components(Vorbis Enc File)