mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
263 B
9 lines
263 B
4 years ago
|
macro(ocv_add_core_parallel_backend backend_id cond_var)
|
||
|
if(${cond_var})
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/detect_${backend_id}.cmake")
|
||
|
endif()
|
||
|
endmacro()
|
||
|
|
||
|
ocv_add_core_parallel_backend("tbb" WITH_TBB)
|
||
|
ocv_add_core_parallel_backend("openmp" WITH_OPENMP)
|