summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch')
-rw-r--r--var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch b/var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch
new file mode 100644
index 0000000000..a7a7ec24a2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/intel-tbb/tbb_cmakeConfig.patch
@@ -0,0 +1,11 @@
+--- cmake/templates/TBBConfig.cmake.in~ 2018-03-30 10:55:05.000000000 -0500
++++ cmake/templates/TBBConfig.cmake.in 2018-05-25 10:25:52.498708945 -0500
+@@ -52,7 +52,7 @@
+
+ @TBB_CHOOSE_COMPILER_SUBDIR@
+
+-get_filename_component(_tbb_lib_path "${_tbb_root}/@TBB_SHARED_LIB_DIR@/${_tbb_arch_subdir}/${_tbb_compiler_subdir}" ABSOLUTE)
++get_filename_component(_tbb_lib_path "${_tbb_root}/@TBB_SHARED_LIB_DIR@" ABSOLUTE)
+
+ foreach (_tbb_component ${TBB_FIND_COMPONENTS})
+ set(_tbb_release_lib "${_tbb_lib_path}/@TBB_LIB_PREFIX@${_tbb_component}.@TBB_LIB_EXT@")