diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a479bae..a0087a4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -153,6 +153,10 @@ endif() target_link_options(MassBuilderSaveTool PRIVATE -static -static-libgcc -static-libstdc++) +if(CMAKE_BUILD_TYPE STREQUAL Release) + target_link_options(MassBuilderSaveTool PRIVATE -Wl,-S) +endif() + target_link_libraries(MassBuilderSaveTool PRIVATE Corrade::Containers Corrade::Utility