Skip to content

Commit

Permalink
update(build): allow tbb to build with a different compiler
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Guerra <luca@guerra.sh>
  • Loading branch information
LucaGuerra authored and poiana committed Aug 21, 2024
1 parent fb6cef6 commit 1407484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/tbb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ else()
-DTBB_OUTPUT_DIR_BASE=lib
-DCMAKE_CXX_FLAGS="${TBB_FLAGS}"
-DCMAKE_POSITION_INDEPENDENT_CODE=${ENABLE_PIC}
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
BUILD_BYPRODUCTS ${TBB_LIB}
INSTALL_COMMAND "")
else()
Expand Down

0 comments on commit 1407484

Please sign in to comment.