diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-06 21:44:26 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-06 21:51:38 +0800 |
commit | b6c930833bce5d501f4c4496935b7fbf13ed34aa (patch) | |
tree | bfd57e0349ad83718ae778527a73ab75620d5bf1 /indra/media_plugins/libvlc | |
parent | 8f44cd4d043bcaa400ce0cc47d3c03196bb8defe (diff) |
Enable media plugins on Windows
Put the necessary files into place.
But, none of them is working just yet.
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r-- | indra/media_plugins/libvlc/CMakeLists.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/indra/media_plugins/libvlc/CMakeLists.txt b/indra/media_plugins/libvlc/CMakeLists.txt index e99f25a1df..c7b12b17dc 100644 --- a/indra/media_plugins/libvlc/CMakeLists.txt +++ b/indra/media_plugins/libvlc/CMakeLists.txt @@ -95,8 +95,14 @@ if (INSTALL) set(_LIB lib/${ARCH}-linux-gnu) elseif (${LINUX_DISTRO} MATCHES fedora OR (${LINUX_DISTRO} MATCHES opensuse-tumbleweed) OR (${LINUX_DISTRO} MATCHES gentoo)) set(_LIB lib${ADDRESS_SIZE}) - else (DARWIN) + elseif (WINDOWS) + set(_LIB llplugin) + install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_BUILD_TYPE}/${PROJECT_NAME}.dll DESTINATION llplugin) + install(DIRECTORY ${AUTOBUILD_INSTALL_DIR}/bin/release/plugins DESTINATION llplugin) + else () set(_LIB lib) - endif (DARWIN) - install(TARGETS ${PROJECT_NAME} DESTINATION ${_LIB}) -endif (INSTALL) + endif () + if (NOT WINDOWS) + install(TARGETS ${PROJECT_NAME} DESTINATION ${_LIB}) + endif () +endif () |