summaryrefslogtreecommitdiff
path: root/indra/llplugin/slplugin
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-07-30 19:02:54 +0800
committerErik Kundiman <erik@megapahit.org>2023-07-30 19:02:54 +0800
commite08ad14176502a8cc26b401c48b7161ce8c39140 (patch)
tree299e13da764a500e297c44bcd620564cd85fb505 /indra/llplugin/slplugin
parent9aac948d59cee9bce12098b060d94aeba33efa86 (diff)
SLPlugin is in libexec when installed to system
Diffstat (limited to 'indra/llplugin/slplugin')
-rw-r--r--indra/llplugin/slplugin/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt
index f1a75ff97f..871d858b58 100644
--- a/indra/llplugin/slplugin/CMakeLists.txt
+++ b/indra/llplugin/slplugin/CMakeLists.txt
@@ -65,6 +65,10 @@ if (BUILD_SHARED_LIBS)
"${LINK_FLAGS_RELEASE} -Wl,--allow-shlib-undefined")
endif ()
+if (INSTALL)
+ install(TARGETS ${PROJECT_NAME} DESTINATION ${APP_LIBEXEC_DIR})
+endif ()
+
if (LL_TESTS)
ll_deploy_sharedlibs_command(SLPlugin)
endif (LL_TESTS)