mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 14:55:08 -06:00
Add TBB the new way to dependencies, remove gtest
This commit is contained in:
parent
69139c2a6f
commit
d1cdf80fef
4 changed files with 22 additions and 56 deletions
17
deps/TBB/TBB.cmake
vendored
Normal file
17
deps/TBB/TBB.cmake
vendored
Normal 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 ()
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue