Skip to content

Commit 767127c

Browse files
committed
Merge pull request opencv#19505 from alalek:hotfix_19456
2 parents 107f233 + 65b5d34 commit 767127c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/OpenCVDetectTBB.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function(ocv_tbb_env_guess _found)
8888
if(NOT (CMAKE_VERSION VERSION_LESS "3.16.0")) # https://gitlab.kitware.com/cmake/cmake/-/issues/19434
8989
target_compile_definitions(tbb INTERFACE "__TBB_NO_IMPLICIT_LINKAGE=1")
9090
else()
91-
set_target_properties(tbb PROPERTIES INTERFACE_COMPILE_OPTIONS "__TBB_NO_IMPLICIT_LINKAGE=1")
91+
set_target_properties(tbb PROPERTIES INTERFACE_COMPILE_DEFINITIONS "__TBB_NO_IMPLICIT_LINKAGE=1")
9292
endif()
9393
endif()
9494
message(STATUS "Found TBB (env): ${TBB_ENV_LIB}")

0 commit comments

Comments
 (0)