Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/manifoldDeps.cmake b/manifoldDeps.cmake
- index 3866a19..182145b 100644
- --- a/manifoldDeps.cmake
- +++ b/manifoldDeps.cmake
- @@ -1,9 +1,12 @@
- include(FetchContent)
- include(GNUInstallDirs)
- find_package(PkgConfig)
- +if(MANIFOLD_PAR STREQUAL "TBB")
- + find_package(TBB)
- +endif()
- if (PKG_CONFIG_FOUND)
- pkg_check_modules(Clipper2 Clipper2)
- - if(MANIFOLD_PAR STREQUAL "TBB")
- + if(MANIFOLD_PAR STREQUAL "TBB" AND NOT TBB_FOUND)
- pkg_check_modules(TBB tbb)
- endif()
- endif()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement