summaryrefslogtreecommitdiff
path: root/indra/cmake/LibVLCPlugin.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/LibVLCPlugin.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/LibVLCPlugin.cmake')
-rw-r--r--indra/cmake/LibVLCPlugin.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/LibVLCPlugin.cmake b/indra/cmake/LibVLCPlugin.cmake
index fd2ee13569..b614b7304f 100644
--- a/indra/cmake/LibVLCPlugin.cmake
+++ b/indra/cmake/LibVLCPlugin.cmake
@@ -10,18 +10,18 @@ set(LIBVLCPLUGIN ON CACHE BOOL
"LIBVLCPLUGIN support for the llplugin/llmedia test apps.")
if (WINDOWS)
- set_target_libraries( ll::libvlc
+ target_link_libraries( ll::libvlc INTERFACE
libvlc.lib
libvlccore.lib
)
elseif (DARWIN)
- set_target_libraries( ll::libvlc
+ target_link_libraries( ll::libvlc INTERFACE
libvlc.dylib
libvlccore.dylib
)
elseif (LINUX)
# Specify a full path to make sure we get a static link
- set_target_libraries( ll::libvlc
+ target_link_libraries( ll::libvlc INTERFACE
${LIBS_PREBUILT_DIR}/lib/libvlc.a
${LIBS_PREBUILT_DIR}/lib/libvlccore.a
)