mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Fix TBB debug
This commit is contained in:
parent
898cf70210
commit
472f3b7347
@ -70,9 +70,13 @@ function(ocv_tbb_env_guess _found)
|
|||||||
add_library(tbb UNKNOWN IMPORTED)
|
add_library(tbb UNKNOWN IMPORTED)
|
||||||
set_target_properties(tbb PROPERTIES
|
set_target_properties(tbb PROPERTIES
|
||||||
IMPORTED_LOCATION "${TBB_ENV_LIB}"
|
IMPORTED_LOCATION "${TBB_ENV_LIB}"
|
||||||
IMPORTED_LOCATION_DEBUG "${TBB_ENV_LIB_DEBUG}"
|
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${TBB_ENV_INCLUDE}"
|
INTERFACE_INCLUDE_DIRECTORIES "${TBB_ENV_INCLUDE}"
|
||||||
)
|
)
|
||||||
|
if (TBB_ENV_LIB_DEBUG)
|
||||||
|
set_target_properties(tbb PROPERTIES
|
||||||
|
IMPORTED_LOCATION_DEBUG "${TBB_ENV_LIB_DEBUG}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
# workaround: system TBB library is used for linking instead of provided
|
# workaround: system TBB library is used for linking instead of provided
|
||||||
if(CV_GCC)
|
if(CV_GCC)
|
||||||
get_filename_component(_dir "${TBB_ENV_LIB}" DIRECTORY)
|
get_filename_component(_dir "${TBB_ENV_LIB}" DIRECTORY)
|
||||||
|
Loading…
Reference in New Issue
Block a user