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
|
# CONFIG += PUBLIC_RELEASE
|
||||||
|
|
||||||
|
win32: {
|
||||||
QMAKE_CXXFLAGS += /WX \ # Treat warnings as errors
|
QMAKE_CXXFLAGS += /WX \ # Treat warnings as errors
|
||||||
/wd4267 # Disable C4267: conversion from 'size_t' to 'type', possible loss of data
|
/wd4267 # Disable C4267: conversion from 'size_t' to 'type', possible loss of data
|
||||||
|
}
|
||||||
|
|
||||||
BUILD_DIR = $$PWD/../build
|
BUILD_DIR = $$PWD/../build
|
||||||
EXTERNALS_DIR = $$PWD/../externals
|
EXTERNALS_DIR = $$PWD/../externals
|
||||||
|
|
Loading…
Reference in New Issue