From c4e80952ced54978e8e6294a93d28ede251e8e9d Mon Sep 17 00:00:00 2001 From: atinfinity Date: Wed, 23 Dec 2015 23:43:01 +0900 Subject: [PATCH] changed to find TBB library(VS2015) --- cmake/OpenCVDetectTBB.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/OpenCVDetectTBB.cmake b/cmake/OpenCVDetectTBB.cmake index 8ff78bb3d4..be40b476b6 100644 --- a/cmake/OpenCVDetectTBB.cmake +++ b/cmake/OpenCVDetectTBB.cmake @@ -65,6 +65,8 @@ if(NOT HAVE_TBB) set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc11") elseif(MSVC12) set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc12") + elseif(MSVC14) + set(_TBB_LIB_PATH "${_TBB_LIB_PATH}/vc14") endif() set(TBB_LIB_DIR "${_TBB_LIB_PATH}" CACHE PATH "Full path of TBB library directory") link_directories("${TBB_LIB_DIR}")