Skip to content

Commit d2a3012

Browse files
committed
only copy relevant header directories
1 parent 3522d04 commit d2a3012

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Makevars.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ ifdef TBB_LIB
137137
@echo "(tbb) TBB_LIB = $(TBB_LIB)"
138138
@echo "(tbb) TBB_INC = $(TBB_INC)"
139139
@mkdir -p ../inst/include
140-
@cp -R $(TBB_INC)/* ../inst/include/
140+
@cp -R $(TBB_INC)/oneapi ../inst/include/ 2> /dev/null || :
141+
@cp -R $(TBB_INC)/serial ../inst/include/ 2> /dev/null || :
142+
@cp -R $(TBB_INC)/tbb ../inst/include/ 2> /dev/null || :
141143
else
142144
@echo "(tbb) Building TBB using bundled sources ..."
143145
@mkdir -p ../inst/include

0 commit comments

Comments
 (0)