diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-25 21:35:58 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-25 21:35:58 +0800 |
commit | 0ea8609015c74b5571baf8f031e0e26a938372fa (patch) | |
tree | 9734ffcabde11919ec1fd518745c57f56894033d /indra/media_plugins/libvlc | |
parent | ff3650d57abb6901f9c8bdf6bab835f5fb669336 (diff) |
Put media plugins install commands correspondingly
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r-- | indra/media_plugins/libvlc/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt index 1710d18f4d..893c9ef4f4 100644 --- a/indra/media_plugins/libvlc/CMakeLists.txt +++ b/indra/media_plugins/libvlc/CMakeLists.txt @@ -81,6 +81,18 @@ endif (DARWIN) if (INSTALL) if (DARWIN) set(_LIB llplugin) + install( + DIRECTORY /Volumes/VLC\ media\ player/VLC.app/Contents/MacOS/plugins + DESTINATION ${_LIB} + ) + install( + FILES + /Volumes/VLC\ media\ player/VLC.app/Contents/MacOS/lib/libvlc.5.dylib + /Volumes/VLC\ media\ player/VLC.app/Contents/MacOS/lib/libvlc.dylib + /Volumes/VLC\ media\ player/VLC.app/Contents/MacOS/lib/libvlccore.9.dylib + /Volumes/VLC\ media\ player/VLC.app/Contents/MacOS/lib/libvlccore.dylib + DESTINATION ${_LIB}/plugins + ) elseif (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) set(_LIB lib/${ARCH}-linux-gnu) elseif (EXISTS /lib64) |