diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-06 08:09:31 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-06 08:09:31 +0800 |
commit | 57f91acf044a3cf2c8a0175aab10fbb7b1e90a7f (patch) | |
tree | 805c3e55d83094fa2010ee66bcd2b6a204736f42 /indra/media_plugins/libvlc | |
parent | 29d68ecb229ecb19e6d0da4cf5fbd8e3bbdde2cf (diff) | |
parent | 8662083cf4130922732aa8fba655310664b80d8b (diff) |
Merge branch 'main' into maint-b
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r-- | indra/media_plugins/libvlc/CMakeLists.txt | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt index 7881dbba73..1140f2de1b 100644 --- a/indra/media_plugins/libvlc/CMakeLists.txt +++ b/indra/media_plugins/libvlc/CMakeLists.txt @@ -50,12 +50,14 @@ if (DARWIN) endif (DARWIN) if (INSTALL) - if (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) - set(_LIB lib/${ARCH}-linux-gnu) - elseif (EXISTS /lib64) - set(_LIB lib64) - else () - set(_LIB lib) - endif () - install(TARGETS ${PROJECT_NAME} DESTINATION ${_LIB}) -endif () + if (DARWIN) + set(_LIB ${viewer_BINARY_DIR}/${VIEWER_CHANNEL}.app/Contents/Resources/llplugin) + elseif (EXISTS ${CMAKE_SYSROOT}/usr/lib/${ARCH}-linux-gnu) + set(_LIB lib/${ARCH}-linux-gnu) + elseif (EXISTS /lib64) + set(_LIB lib64) + else (DARWIN) + set(_LIB lib) + endif (DARWIN) + install(TARGETS ${PROJECT_NAME} DESTINATION ${_LIB}) +endif (INSTALL) |