Navigation Menu

Skip to content

Commit

Permalink
#5452 Set -fvisibility=hidden compiler flag for the scripting module
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Dec 20, 2020
1 parent 11e5a7f commit 94fd459
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/script/CMakeLists.txt
Expand Up @@ -26,6 +26,7 @@ add_library(script MODULE
ScriptCommand.cpp
ScriptingSystem.cpp
ScriptModule.cpp)
set_target_properties(script PROPERTIES CXX_VISIBILITY_PRESET hidden)
target_compile_options(script PUBLIC ${SIGC_CFLAGS})
target_include_directories(script SYSTEM PUBLIC
${CMAKE_SOURCE_DIR}/libs/pybind
Expand Down

0 comments on commit 94fd459

Please sign in to comment.