Fix building with Qt5 on MSVC by undefining min/max macros
authorHendrik Leppkes <h.leppkes@gmail.com>
Sat, 29 Mar 2014 16:16:13 +0000 (17:16 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Sat, 29 Mar 2014 16:16:13 +0000 (17:16 +0100)
commitf6adbb022446c5c7d5813cb13bb5e993e12ef581
treef93cab47e226767560c22348632af116c54b4d4b
parent9e21879f361dfe9978fb5159664cae352301064b
Fix building with Qt5 on MSVC by undefining min/max macros

The Windows stdlib.h header defines min/max macros, which interfer with
the Qt5 header files. Luckily, it also provides the define NOMINMAX which
suppresses these macros, and fix building.
CMakeLists.txt