mirror of
https://github.com/opencv/opencv.git
synced 2026-09-11 04:43:22 -05:00
Warning fixes continued
This commit is contained in:
@@ -10,7 +10,7 @@ elseif(UNIX AND NOT APPLE)
|
||||
if(TBB_FOUND)
|
||||
set(HAVE_TBB 1)
|
||||
if(NOT ${TBB_INCLUDE_DIRS} STREQUAL "")
|
||||
include_directories(SYSTEM ${TBB_INCLUDE_DIRS})
|
||||
ocv_include_directories(${TBB_INCLUDE_DIRS})
|
||||
endif()
|
||||
link_directories(${TBB_LIBRARY_DIRS})
|
||||
set(OPENCV_LINKER_LIBS ${OPENCV_LINKER_LIBS} ${TBB_LIBRARIES})
|
||||
@@ -63,7 +63,7 @@ if(NOT HAVE_TBB)
|
||||
|
||||
set(HAVE_TBB 1)
|
||||
if(NOT "${TBB_INCLUDE_DIRS}" STREQUAL "")
|
||||
include_directories(SYSTEM "${TBB_INCLUDE_DIRS}")
|
||||
ocv_include_directories("${TBB_INCLUDE_DIRS}")
|
||||
endif()
|
||||
endif(TBB_INCLUDE_DIRS)
|
||||
endif(NOT HAVE_TBB)
|
||||
|
||||
Reference in New Issue
Block a user