Fix to .qmake.conf so MSVC compiler flags are only set on Windows
This commit is contained in:
parent
0ffbaefcde
commit
097ab23687
|
@ -1,7 +1,9 @@
|
|||
# CONFIG += PUBLIC_RELEASE
|
||||
|
||||
QMAKE_CXXFLAGS += /WX \ # Treat warnings as errors
|
||||
/wd4267 # Disable C4267: conversion from 'size_t' to 'type', possible loss of data
|
||||
win32: {
|
||||
QMAKE_CXXFLAGS += /WX \ # Treat warnings as errors
|
||||
/wd4267 # Disable C4267: conversion from 'size_t' to 'type', possible loss of data
|
||||
}
|
||||
|
||||
BUILD_DIR = $$PWD/../build
|
||||
EXTERNALS_DIR = $$PWD/../externals
|
||||
|
|
Loading…
Reference in New Issue