aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtCharts
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-06 15:40:02 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-10-07 09:27:40 +0000
commit9a045f536f283b9bbf66a2bf578589177bbe03e5 (patch)
treed1264043f9a80d1b4426a397328664b508dd1a92 /sources/pyside2/PySide2/QtCharts
parent9f74476af5c45ac562fb95bf47c06ee8ef3d2c78 (diff)
Windows: Define NOMINMAX for every module
As of 5.10, windows.h is included by qrandom.h in QtCore. Task-number: PYSIDE-431 Change-Id: I69cc5e3275fba09f1a4990a4e5d37253b4664a95 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtCharts')
-rw-r--r--sources/pyside2/PySide2/QtCharts/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/pyside2/PySide2/QtCharts/CMakeLists.txt b/sources/pyside2/PySide2/QtCharts/CMakeLists.txt
index 03c07b546..5d6ed6aaf 100644
--- a/sources/pyside2/PySide2/QtCharts/CMakeLists.txt
+++ b/sources/pyside2/PySide2/QtCharts/CMakeLists.txt
@@ -58,11 +58,6 @@ ${QtCharts_GEN_DIR}/qtcharts_wrapper.cpp
${QtCharts_GEN_DIR}/qtcharts_module_wrapper.cpp
)
-# Sanitize windows.h as pulled by gl.h to prevent clashes with QValueAxis::min(), etc.
-if (WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DNOMINMAX")
-endif()
-
make_path(QtCharts_typesystem_path
${QtCore_SOURCE_DIR}
${QtCore_BINARY_DIR}