diff --git a/CMakeLists.txt b/CMakeLists.txt index 7338dc3f9..aae389dd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,7 +128,10 @@ add_definitions( ) if(WIN32) - add_definitions(-DUNICODE) + add_definitions( + -DUNICODE + -DNOMINMAX + ) endif() if(BUILD_WERROR)