From 8445653bff8f9794b714ab086a190ed36e274074 Mon Sep 17 00:00:00 2001
From: Martin Beseda <martinbeseda@seznam.cz>
Date: Thu, 13 Sep 2018 17:16:24 +0200
Subject: [PATCH] FIX: Defined NOMINMAX for Windows build

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 89d119d9..b750bca5 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()
-- 
GitLab