2021-03-20 15:15:28 +00:00
|
|
|
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)
|
2021-03-23 18:01:18 +00:00
|
|
|
add_debug_dep(dep_TBB)
|
2021-03-20 15:15:28 +00:00
|
|
|
endif ()
|
|
|
|
|
|
|
|
|