From eb9c1de59ba7699b2fc6a87c71990c9603b2e65b Mon Sep 17 00:00:00 2001 From: PBerger Date: Wed, 22 Oct 2014 17:15:09 +0200 Subject: [PATCH] Added Boost DECLTYPE for MSVC. Former-commit-id: c70dfa5e6340d5dd626fffe002c99b9014a7f5b6 --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2864e3882..91a8d7c7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -118,6 +118,8 @@ elseif(MSVC) add_definitions(/D_VARIADIC_MAX=10) # Windows.h breaks GMM in gmm_except.h because of its macro definition for min and max add_definitions(/DNOMINMAX) + # Boost Defs + add_definitions(/DBOOST_RESULT_OF_USE_DECLTYPE) # since nobody cares at the moment add_definitions(/wd4250)