diff --git a/CMakeLists.txt b/CMakeLists.txt index 89d119d9bc9089b25f4866bc3d36550b2d3d96c4..b750bca57938d654e7f2426b469d504bc938dc8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ message("Using CMake ${CMAKE_VERSION}") #TODO rewrite to use add_compile_definitions if(WIN32) - add_compile_options("-DBOOST_ALL_NO_LIB") + add_compile_options("/D BOOST_ALL_NO_LIB /D NOMINMAX") else() add_compile_options("-DBOOST_TEST_DYN_LINK") endif()