mirror of
https://github.com/leozide/leocad
synced 2025-01-13 08:01:38 +01:00
Only disable msvc warning when using msvc. Fixes #254.
This commit is contained in:
parent
5e31d6985b
commit
59ecbcdd5e
1 changed files with 4 additions and 1 deletions
|
@ -14,9 +14,12 @@ equals(QT_MAJOR_VERSION, 5) {
|
|||
|
||||
INCLUDEPATH += qt common
|
||||
CONFIG += precompile_header incremental c++11
|
||||
|
||||
win32-msvc* {
|
||||
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
||||
}
|
||||
win32 {
|
||||
PRECOMPILED_HEADER = common/lc_global.h
|
||||
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
||||
DEFINES += _CRT_SECURE_NO_WARNINGS _CRT_SECURE_NO_DEPRECATE=1 _CRT_NONSTDC_NO_WARNINGS=1
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
INCLUDEPATH += $$[QT_INSTALL_HEADERS]/QtZlib
|
||||
|
|
Loading…
Reference in a new issue