From b0e28d27bd990393e22ca3f474c340e77a08357b Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Mon, 18 Dec 2023 20:42:30 +0800 Subject: Unix install sets plugin dir to system library dir because (at least) the vlc/plugins dirs are inside it in the same way it's been inside llplugin. This is so the app can find system VLC plugins. And for this, BUILD_SHARED_LIBS set on must work first on Linux (has already been working on FreeBSD), since libmedia_plugin_libvlc is a shared library (which now gets installed to system library dir too, on both OSes). --- indra/media_plugins/libvlc/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'indra/media_plugins') diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt index 84fac1634c..9e5c0abb62 100644 --- a/indra/media_plugins/libvlc/CMakeLists.txt +++ b/indra/media_plugins/libvlc/CMakeLists.txt @@ -56,7 +56,4 @@ if (DARWIN) endif (DARWIN) -if (INSTALL) - install(TARGETS ${PROJECT_NAME} DESTINATION - libexec/${VIEWER_BINARY_NAME}/llplugin) -endif () +include(LibraryInstall) -- cgit v1.2.3