mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
MSVC: Define _USE_MATH_DEFINES to enable M_PI, M_E,...
This commit is contained in:
parent
d160668bc6
commit
656e066d25
@ -3,6 +3,8 @@
|
||||
QMAKE_CXXFLAGS += -fexceptions
|
||||
} else {
|
||||
QMAKE_CXXFLAGS += /EHsc
|
||||
# To enable M_PI, M_E,...
|
||||
DEFINES += _USE_MATH_DEFINES
|
||||
}
|
||||
|
||||
HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \
|
||||
|
Loading…
Reference in New Issue
Block a user