summaryrefslogtreecommitdiff
path: root/indra/llplugin
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-16 19:58:17 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-16 19:58:17 +0200
commit2c3507a9d2a32749df695ee04f7612c3049c86c8 (patch)
tree7fa2f579cb90da0a7750b2cdaa2fbbb149b5d4ac /indra/llplugin
parentc7ea88046b8442c2c2bfd34c447adef094a4ee2d (diff)
Cleanup plugin, create proper target for link libraries. Remove unused
variables.
Diffstat (limited to 'indra/llplugin')
-rw-r--r--indra/llplugin/slplugin/CMakeLists.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt
index 9daf7d327c..1fa4f0346d 100644
--- a/indra/llplugin/slplugin/CMakeLists.txt
+++ b/indra/llplugin/slplugin/CMakeLists.txt
@@ -20,10 +20,9 @@ if (DARWIN)
)
endif (DARWIN)
-set_source_files_properties(${SLPlugin_HEADER_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
-
if (SLPlugin_HEADER_FILES)
+ set_source_files_properties(${SLPlugin_HEADER_FILES}
+ PROPERTIES HEADER_FILE_ONLY TRUE)
list(APPEND SLPlugin_SOURCE_FILES ${SLPlugin_HEADER_FILES})
endif (SLPlugin_HEADER_FILES)
@@ -46,11 +45,11 @@ set_target_properties(SLPlugin
endif ()
target_link_libraries(SLPlugin
- llplugin
- llmessage
- llcommon
- ${PLUGIN_API_WINDOWS_LIBRARIES}
-)
+ llplugin
+ llmessage
+ llcommon
+ ll::pluginlibraries
+ )
if (DARWIN)
# Make sure the app bundle has a Resources directory (it will get populated by viewer-manifest.py later)