Add TBB the new way to dependencies, remove gtest

This commit is contained in:
tamasmeszaros 2021-03-20 16:15:28 +01:00
parent 69139c2a6f
commit d1cdf80fef
4 changed files with 22 additions and 56 deletions

17
deps/TBB/TBB.cmake vendored Normal file
View file

@ -0,0 +1,17 @@
prusaslicer_add_cmake_project(
TBB
URL "https://github.com/wjakob/tbb/archive/a0dc9bf76d0120f917b641ed095360448cabc85b.tar.gz"
URL_HASH SHA256=0545cb6033bd1873fcae3ea304def720a380a88292726943ae3b9b207f322efe
CMAKE_ARGS
-DTBB_BUILD_SHARED=OFF
-DTBB_BUILD_TESTS=OFF
-DTBB_BUILD_TESTS=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_DEBUG_POSTFIX=_debug
)
if (MSVC)
add_debug_dep(dep_tbb)
endif ()