Compare commits

...

1 Commits

  1. 2
      cmake/modules/BasicConfig.cmake

2
cmake/modules/BasicConfig.cmake

@ -119,7 +119,7 @@ elseif("${META_PROJECT_TYPE}" STREQUAL "application")
endif()
# additional linker flags used when static linkage is enables
list(APPEND META_ADDITIONAL_STATIC_LINK_FLAGS -static -static-libstdc++ -static-libgcc)
list(APPEND META_ADDITIONAL_STATIC_LINK_FLAGS -ffunction-sections -gc-sections -Wl,--print-gc-sections -static -static-libstdc++ -static-libgcc)
# options for enabling/disabling Qt GUI (if available)
if(WIDGETS_HEADER_FILES OR WIDGETS_SRC_FILES OR WIDGETS_UI_FILES)

Loading…
Cancel
Save