summaryrefslogtreecommitdiff
path: root/indra/cmake/Audio.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/Audio.cmake')
-rw-r--r--indra/cmake/Audio.cmake12
1 files changed, 5 insertions, 7 deletions
diff --git a/indra/cmake/Audio.cmake b/indra/cmake/Audio.cmake
index bf95a8eef1..e533d1ac00 100644
--- a/indra/cmake/Audio.cmake
+++ b/indra/cmake/Audio.cmake
@@ -1,17 +1,15 @@
# -*- cmake -*-
include(Prebuilt)
-if(TARGET vorbis::vorbis)
- return()
-endif()
-create_target(vorbis::vorbis)
+include_guard()
+create_target(ll::vorbis)
use_prebuilt_binary(ogg_vorbis)
-set_target_include_dirs( vorbis::vorbis ${LIBS_PREBUILT_DIR}/include )
+set_target_include_dirs( ll::vorbis ${LIBS_PREBUILT_DIR}/include )
if (WINDOWS)
- set_target_libraries(vorbis::vorbis ogg_static vorbis_static vorbisenc_static vorbisfile_static )
+ set_target_libraries(ll::vorbis ogg_static vorbis_static vorbisenc_static vorbisfile_static )
else (WINDOWS)
- set_target_libraries(vorbis::vorbis ogg vorbis vorbisenc vorbisfile )
+ set_target_libraries(ll::vorbis ogg vorbis vorbisenc vorbisfile )
endif (WINDOWS)