Merge pull request #4885 from vvanelslande/cmake-dwarf-mingw

Add MinGW CMake option to disable DWARF debugging information
This commit is contained in:
Weiyi Wang
2019-08-18 15:40:32 -04:00
committed by GitHub
3 changed files with 6 additions and 8 deletions

View File

@@ -71,7 +71,9 @@ else()
if (MINGW)
add_definitions(-DMINGW_HAS_SECURE_API)
add_compile_options("-gdwarf")
if (COMPILE_WITH_DWARF)
add_compile_options("-gdwarf")
endif()
if (MINGW_STATIC_BUILD)
add_definitions(-DQT_STATICPLUGIN)