TBB.cmake 469 B

1234567891011121314151617
  1. bambustudio_add_cmake_project(
  2. TBB
  3. URL "https://github.com/wjakob/tbb/archive/a0dc9bf76d0120f917b641ed095360448cabc85b.tar.gz"
  4. URL_HASH SHA256=0545cb6033bd1873fcae3ea304def720a380a88292726943ae3b9b207f322efe
  5. CMAKE_ARGS
  6. -DTBB_BUILD_SHARED=OFF
  7. -DTBB_BUILD_TESTS=OFF
  8. -DTBB_BUILD_TESTS=OFF
  9. -DCMAKE_POSITION_INDEPENDENT_CODE=ON
  10. -DCMAKE_DEBUG_POSTFIX=_debug
  11. )
  12. if (MSVC)
  13. add_debug_dep(dep_TBB)
  14. endif ()