summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigure.cmake.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmConfigure.cmake.h.in')
-rw-r--r--Source/cmConfigure.cmake.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmConfigure.cmake.h.in b/Source/cmConfigure.cmake.h.in
index 19b1cd4..4de1c5d 100644
--- a/Source/cmConfigure.cmake.h.in
+++ b/Source/cmConfigure.cmake.h.in
@@ -26,4 +26,8 @@
#define CM_FALLTHROUGH cmsys_FALLTHROUGH
+#if defined(_WIN32) && !defined(NOMINMAX)
+# define NOMINMAX
+#endif
+
#endif