diff options
Diffstat (limited to 'logic/CMakeLists.txt')
-rw-r--r-- | logic/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/CMakeLists.txt b/logic/CMakeLists.txt index 183c8269..f16f054a 100644 --- a/logic/CMakeLists.txt +++ b/logic/CMakeLists.txt @@ -314,6 +314,10 @@ endif() # Add common library add_library(MultiMC_logic SHARED ${LOGIC_SOURCES}) +set_target_properties(MultiMC_logic PROPERTIES + CXX_VISIBILITY_PRESET hidden + VISIBILITY_INLINES_HIDDEN 1) + generate_export_header(MultiMC_logic) # Use system zlib on unix and Qt ZLIB on Windows |