Try move static to the project scope

This commit is contained in:
zhupengfei committed 2020-05-17 08:17:12 +08:00
1 parent 87603d5d50
commit afc7a2cbe0
2 files changed
+13 -12

No files matched your search

-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()