summaryrefslogtreecommitdiff
path: root/indra/cmake/Audio.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-13 10:28:46 +0200
commitd3521b4462195cfe882b2cc8eb4e7c5e948c0fb6 (patch)
treeeee8a16ba63a63f966d725b5b5fe2bf234b25da3 /indra/cmake/Audio.cmake
parent07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff)
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/Audio.cmake')
-rw-r--r--indra/cmake/Audio.cmake22
1 files changed, 7 insertions, 15 deletions
diff --git a/indra/cmake/Audio.cmake b/indra/cmake/Audio.cmake
index bc11e62de5..bf95a8eef1 100644
--- a/indra/cmake/Audio.cmake
+++ b/indra/cmake/Audio.cmake
@@ -6,20 +6,12 @@ if(TARGET vorbis::vorbis)
endif()
create_target(vorbis::vorbis)
-if (USESYSTEMLIBS)
- include(FindPkgConfig)
- pkg_check_modules(OGG REQUIRED ogg)
- pkg_check_modules(VORBIS REQUIRED vorbis)
- pkg_check_modules(VORBISENC REQUIRED vorbisenc)
- pkg_check_modules(VORBISFILE REQUIRED vorbisfile)
-else (USESYSTEMLIBS)
- use_prebuilt_binary(ogg_vorbis)
- set_target_include_dirs( vorbis::vorbis ${LIBS_PREBUILT_DIR}/include )
+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)
-endif (USESYSTEMLIBS)
+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)