From 26c8b3a38e46cecbffd6dae53e3171fd66bfbaf6 Mon Sep 17 00:00:00 2001 From: Abhijit Kundu Date: Mon, 28 Apr 2014 07:23:49 -0400 Subject: [PATCH] Added suuport for finding Intel TBB for Visual Studio 2013 --- cmake/OpenCVDetectTBB.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/OpenCVDetectTBB.cmake b/cmake/OpenCVDetectTBB.cmake index fe8e100..8ff78bb 100644 --- a/cmake/OpenCVDetectTBB.cmake +++ b/cmake/OpenCVDetectTBB.cmake @@ -63,6 +63,8 @@ if(NOT HAVE_TBB) set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc10") elseif(MSVC11) set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc11") + elseif(MSVC12) + set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc12") endif() set(TBB_LIB_DIR "${_TBB_LIB_PATH}" CACHE PATH "Full path of TBB library directory") link_directories("${TBB_LIB_DIR}") -- 2.7.4