summaryrefslogtreecommitdiff
path: root/indra/llplugin/slplugin
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-06-24 17:25:25 +0800
committerErik Kundiman <erik@megapahit.org>2025-06-24 17:25:25 +0800
commita20bf9a72365142e6a534180c375221c100d7c54 (patch)
treed61346da0fe492a2a82f0673d49ad298eb990b3a /indra/llplugin/slplugin
parentd1353441f91d5776e1f4e72666f7c9de96eecca5 (diff)
parent09615bb5160d6ab67f027409ec6be25336842ab7 (diff)
Merge branch 'main' into gltf_mesh_import
Diffstat (limited to 'indra/llplugin/slplugin')
-rw-r--r--indra/llplugin/slplugin/CMakeLists.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt
index d29731894f..03a057fbcb 100644
--- a/indra/llplugin/slplugin/CMakeLists.txt
+++ b/indra/llplugin/slplugin/CMakeLists.txt
@@ -49,6 +49,10 @@ target_link_libraries(SLPlugin
ll::pluginlibraries
)
+if ($ENV{MSYSTEM_CARCH} MATCHES aarch64)
+ target_link_libraries(${PROJECT_NAME} clog)
+endif ()
+
if (DARWIN)
# Make sure the app bundle has a Resources directory (it will get populated by viewer-manifest.py later)
add_custom_command(
@@ -66,14 +70,14 @@ if (BUILD_SHARED_LIBS)
endif ()
if (INSTALL)
- if (DARWIN)
+ if (DARWIN OR WINDOWS)
install(TARGETS ${PROJECT_NAME} DESTINATION .)
elseif (${LINUX_DISTRO} MATCHES arch)
install(TARGETS ${PROJECT_NAME} DESTINATION lib/${VIEWER_BINARY_NAME})
- else (DARWIN)
+ else ()
install(TARGETS ${PROJECT_NAME} DESTINATION libexec/${VIEWER_BINARY_NAME})
- endif (DARWIN)
-endif (INSTALL)
+ endif ()
+endif ()
if (LL_TESTS)
ll_deploy_sharedlibs_command(SLPlugin)