summaryrefslogtreecommitdiff
path: root/indra/cmake/Audio.cmake
blob: bf95a8eef1a585dee3dbc1c8c7220813e7a095ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# -*- cmake -*-
include(Prebuilt)

if(TARGET vorbis::vorbis)
  return()
endif()
create_target(vorbis::vorbis)

use_prebuilt_binary(ogg_vorbis)
set_target_include_dirs( vorbis::vorbis ${LIBS_PREBUILT_DIR}/include )

if (WINDOWS)
  set_target_libraries(vorbis::vorbis ogg_static vorbis_static vorbisenc_static vorbisfile_static )
else (WINDOWS)
  set_target_libraries(vorbis::vorbis ogg vorbis vorbisenc vorbisfile )
endif (WINDOWS)