Revert "Try move static to the project scope"

This reverts commit afc7a2cbe0.
This commit is contained in:
zhupengfei
2020-05-17 09:32:37 +08:00
parent 2f23efd2ad
commit 9e4a2931c4
2 changed files with 12 additions and 13 deletions
-13
View File
@@ -128,19 +128,6 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU|SunOS)$")
set(PLATFORM_LIBRARIES rt)
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()
# Include source code
# ===================
add_subdirectory(externals)