PrusaSlicer-NonPlainar/deps/TBB/TBB.cmake
tamasmeszaros 6e378d9f6c Disable tests build for tbb
Some tests also fail to build
2022-06-02 09:04:35 +02:00

17 lines
415 B
CMake

prusaslicer_add_cmake_project(
TBB
URL "https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.5.0.zip"
URL_HASH SHA256=83ea786c964a384dd72534f9854b419716f412f9d43c0be88d41874763e7bb47
CMAKE_ARGS
-DTBB_BUILD_SHARED=OFF
-DTBB_TEST=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_DEBUG_POSTFIX=_debug
)
if (MSVC)
add_debug_dep(dep_TBB)
endif ()