diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-29 20:58:27 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-29 20:58:27 +0800 |
commit | 6e4f095baa8e33effe80b68ddf834a3b80f2bb67 (patch) | |
tree | 3d131c6056d3b6132226ff69da54c11800809a56 /indra/llplugin | |
parent | d74367b40d3a2680bbc371b72e294419093e1d83 (diff) |
Setting BUILD_SHARED_LIBS on is now possible
by removing cyclic dependencies, and allowing shlib undefined on
SLPlugin alone.
Diffstat (limited to 'indra/llplugin')
-rw-r--r-- | indra/llplugin/slplugin/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt index 0ea6495eac..f1a75ff97f 100644 --- a/indra/llplugin/slplugin/CMakeLists.txt +++ b/indra/llplugin/slplugin/CMakeLists.txt @@ -60,6 +60,11 @@ if (DARWIN) ) endif (DARWIN) +if (BUILD_SHARED_LIBS) + set_target_properties(SLPlugin PROPERTIES LINK_FLAGS_RELEASE + "${LINK_FLAGS_RELEASE} -Wl,--allow-shlib-undefined") +endif () + if (LL_TESTS) ll_deploy_sharedlibs_command(SLPlugin) endif (LL_TESTS) |