Try move static to the project scope

This commit is contained in:
zhupengfei
2020-05-17 08:17:12 +08:00
parent 87603d5d50
commit afc7a2cbe0
2 changed files with 13 additions and 12 deletions
-12
View File
@@ -96,18 +96,6 @@ else()
add_definitions(-D_FILE_OFFSET_BITS=64)
endif()
if (MINGW)
add_definitions(-DMINGW_HAS_SECURE_API)
if (COMPILE_WITH_DWARF)
add_compile_options("-gdwarf")
endif()
if (MINGW_STATIC_BUILD)
add_definitions(-DQT_STATICPLUGIN)
add_compile_options("-static")
endif()
endif()
# if (NOT DEBUG)
# add_compile_options("-flto")
# endif()