From ddc7bd76591d42f264b21f1773a786c241eed576 Mon Sep 17 00:00:00 2001 From: Sergiu Dotenco Date: Sun, 19 Aug 2012 15:30:41 +0200 Subject: [PATCH] fixed compilation errors caused by std::tuple --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cce10bac..80cf798ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,6 +336,7 @@ include(cmake/OpenCVCompilerOptions.cmake REQUIRED) # ---------------------------------------------------------------------------- if(MSVC) include(cmake/OpenCVCRTLinkage.cmake REQUIRED) + add_definitions(-D_VARIADIC_MAX=10) endif(MSVC)