Skip to content

Commit a9effee

Browse files
committed
Merge pull request opencv#9743 from DensityCo:tbb-debug
2 parents 69103a9 + a56d759 commit a9effee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVDetectTBB.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function(ocv_tbb_env_guess _found)
4545
find_library(TBB_ENV_LIB NAMES "tbb")
4646
find_library(TBB_ENV_LIB_DEBUG NAMES "tbb_debug" PATHS ENV LIBRARY_PATH ENV LD_LIBRARY_PATH NO_DEFAULT_PATH)
4747
find_library(TBB_ENV_LIB_DEBUG NAMES "tbb_debug")
48-
if (TBB_ENV_INCLUDE AND TBB_ENV_LIB)
48+
if (TBB_ENV_INCLUDE AND (TBB_ENV_LIB OR TBB_ENV_LIB_DEBUG))
4949
ocv_tbb_verify()
5050
ocv_tbb_read_version("${TBB_ENV_INCLUDE}")
5151
add_library(tbb UNKNOWN IMPORTED)

0 commit comments

Comments
 (0)