blob: 5efaff07c73b37bde9feca3681bab4f26cb87ccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# -*- cmake -*-
include(Prebuilt)
include_guard()
add_library( ll::vorbis INTERFACE IMPORTED )
use_system_binary(vorbis)
use_prebuilt_binary(ogg_vorbis)
target_include_directories( ll::vorbis SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include )
if (WINDOWS)
target_link_libraries(ll::vorbis INTERFACE ogg_static vorbis_static vorbisenc_static vorbisfile_static )
else (WINDOWS)
target_link_libraries(ll::vorbis INTERFACE vorbisfile vorbis ogg vorbisenc )
endif (WINDOWS)
|