* Extended task_arena interface to simplify development of NUMA-aware applications. * Added warning notifications when the deprecated functionality is used. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=61
30 lines
1.7 KiB
Diff
30 lines
1.7 KiB
Diff
Index: tbb-2020.0/cmake/templates/TBBConfig.cmake.in
|
|
===================================================================
|
|
--- tbb-2020.0.orig/cmake/templates/TBBConfig.cmake.in
|
|
+++ tbb-2020.0/cmake/templates/TBBConfig.cmake.in
|
|
@@ -57,11 +57,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO
|
|
if (NOT TARGET TBB::${_tbb_component})
|
|
add_library(TBB::${_tbb_component} SHARED IMPORTED)
|
|
|
|
- get_filename_component(_tbb_include_dir "${CMAKE_CURRENT_LIST_DIR}/@TBB_INC_REL_PATH@" ABSOLUTE)
|
|
- set_target_properties(TBB::${_tbb_component} PROPERTIES
|
|
- INTERFACE_INCLUDE_DIRECTORIES "${_tbb_include_dir}")
|
|
- unset(_tbb_include_dir)
|
|
-
|
|
if (EXISTS "${_tbb_release_lib}")
|
|
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
|
IMPORTED_LOCATION_RELEASE "${_tbb_release_lib}"@TBB_IMPLIB_RELEASE@)
|
|
Index: tbb-2020.0/cmake/templates/TBBConfigInternal.cmake.in
|
|
===================================================================
|
|
--- tbb-2020.0.orig/cmake/templates/TBBConfigInternal.cmake.in
|
|
+++ tbb-2020.0/cmake/templates/TBBConfigInternal.cmake.in
|
|
@@ -57,8 +57,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO
|
|
if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}")
|
|
if (NOT TARGET TBB::${_tbb_component})
|
|
add_library(TBB::${_tbb_component} SHARED IMPORTED)
|
|
- set_target_properties(TBB::${_tbb_component} PROPERTIES
|
|
- INTERFACE_INCLUDE_DIRECTORIES "${_tbb_root}/include"@TBB_COMPILE_DEFINITIONS@)
|
|
|
|
if (EXISTS "${_tbb_release_lib}")
|
|
set_target_properties(TBB::${_tbb_component} PROPERTIES
|