summaryrefslogtreecommitdiff
path: root/indra/cmake/LibVLCPlugin.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/LibVLCPlugin.cmake
parent07d388f416b64ad5ea6a79d7dee4bf9e6bab7b74 (diff)
Remove obsolete and unmaintained USE_SYSTEMLIBS
Diffstat (limited to 'indra/cmake/LibVLCPlugin.cmake')
-rw-r--r--indra/cmake/LibVLCPlugin.cmake11
1 files changed, 3 insertions, 8 deletions
diff --git a/indra/cmake/LibVLCPlugin.cmake b/indra/cmake/LibVLCPlugin.cmake
index 2adedbfae3..12ba1720c7 100644
--- a/indra/cmake/LibVLCPlugin.cmake
+++ b/indra/cmake/LibVLCPlugin.cmake
@@ -7,15 +7,10 @@ if( TARGET libvlc::libvlc )
endif()
create_target( libvlc::libvlc )
-if (USESYSTEMLIBS)
- set(LIBVLCPLUGIN OFF CACHE BOOL
+use_prebuilt_binary(vlc-bin)
+set(LIBVLCPLUGIN ON CACHE BOOL
"LIBVLCPLUGIN support for the llplugin/llmedia test apps.")
-else (USESYSTEMLIBS)
- use_prebuilt_binary(vlc-bin)
- set(LIBVLCPLUGIN ON CACHE BOOL
- "LIBVLCPLUGIN support for the llplugin/llmedia test apps.")
- set(VLC_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/vlc)
-endif (USESYSTEMLIBS)
+set(VLC_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/vlc)
if (WINDOWS)
set_target_libraries( libvlc::libvlc