2019-12-18 16:38:17 +00:00
|
|
|
Index: tbb-2020.0/cmake/templates/TBBConfig.cmake.in
|
2019-06-07 10:46:28 +00:00
|
|
|
===================================================================
|
2019-12-18 16:38:17 +00:00
|
|
|
--- 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
|
2019-06-07 10:46:28 +00:00
|
|
|
if (NOT TARGET TBB::${_tbb_component})
|
|
|
|
add_library(TBB::${_tbb_component} SHARED IMPORTED)
|
|
|
|
|
2019-12-18 16:38:17 +00:00
|
|
|
- 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)
|
|
|
|
-
|
2019-06-07 10:46:28 +00:00
|
|
|
if (EXISTS "${_tbb_release_lib}")
|
|
|
|
set_target_properties(TBB::${_tbb_component} PROPERTIES
|
2019-12-18 16:38:17 +00:00
|
|
|
IMPORTED_LOCATION_RELEASE "${_tbb_release_lib}"@TBB_IMPLIB_RELEASE@)
|
|
|
|
Index: tbb-2020.0/cmake/templates/TBBConfigInternal.cmake.in
|
2019-06-07 10:46:28 +00:00
|
|
|
===================================================================
|
2019-12-18 16:38:17 +00:00
|
|
|
--- 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
|
2019-06-07 10:46:28 +00:00
|
|
|
if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}")
|
2019-10-10 13:03:29 +00:00
|
|
|
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@)
|
2019-06-07 10:46:28 +00:00
|
|
|
|
2019-10-10 13:03:29 +00:00
|
|
|
if (EXISTS "${_tbb_release_lib}")
|
|
|
|
set_target_properties(TBB::${_tbb_component} PROPERTIES
|