mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #19505 from alalek:hotfix_19456
This commit is contained in:
commit
767127c92e
|
|
@ -88,7 +88,7 @@ function(ocv_tbb_env_guess _found)
|
||||||
if(NOT (CMAKE_VERSION VERSION_LESS "3.16.0")) # https://gitlab.kitware.com/cmake/cmake/-/issues/19434
|
if(NOT (CMAKE_VERSION VERSION_LESS "3.16.0")) # https://gitlab.kitware.com/cmake/cmake/-/issues/19434
|
||||||
target_compile_definitions(tbb INTERFACE "__TBB_NO_IMPLICIT_LINKAGE=1")
|
target_compile_definitions(tbb INTERFACE "__TBB_NO_IMPLICIT_LINKAGE=1")
|
||||||
else()
|
else()
|
||||||
set_target_properties(tbb PROPERTIES INTERFACE_COMPILE_OPTIONS "__TBB_NO_IMPLICIT_LINKAGE=1")
|
set_target_properties(tbb PROPERTIES INTERFACE_COMPILE_DEFINITIONS "__TBB_NO_IMPLICIT_LINKAGE=1")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "Found TBB (env): ${TBB_ENV_LIB}")
|
message(STATUS "Found TBB (env): ${TBB_ENV_LIB}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user