diff options
author | Brad King <brad.king@kitware.com> | 2019-08-19 19:39:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 13:36:45 (GMT) |
commit | 141e3074845675d37a8c7f7c3efcc09d0ab5158c (patch) | |
tree | dd85686887aa32a4e7b6d387bd96268344f776ae /Source/cmConfigure.cmake.h.in | |
parent | a0c8405d681d504f5d96489c2b5d44f10a29c6ed (diff) | |
download | CMake-141e3074845675d37a8c7f7c3efcc09d0ab5158c.zip CMake-141e3074845675d37a8c7f7c3efcc09d0ab5158c.tar.gz CMake-141e3074845675d37a8c7f7c3efcc09d0ab5158c.tar.bz2 |
cmConfigure.h: Tell windows.h not to define min/max macros
Diffstat (limited to 'Source/cmConfigure.cmake.h.in')
-rw-r--r-- | Source/cmConfigure.cmake.h.in | 4 |
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 |