Skip to content

Commit

Permalink
fix: Ensure TBB is optional using OPTIONAL_COMPONENTS (AztecProtocol/…
Browse files Browse the repository at this point in the history
…barretenberg#127)

* fix: Ensure TBB is optional using OPTIONAL_COMPONENTS

* chore: Avoid noisy message when tbb not found
  • Loading branch information
phated authored Feb 9, 2023
1 parent d071a04 commit 3c447b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circuits/cpp/barretenberg/cpp/cmake/threading.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(DISABLE_TBB)
message(STATUS "Intel Thread Building Blocks is disabled.")
add_definitions(-DNO_TBB)
else()
find_package(TBB REQUIRED tbb)
find_package(TBB QUIET OPTIONAL_COMPONENTS tbb)
if(${TBB_FOUND})
message(STATUS "Intel Thread Building Blocks is enabled.")
else()
Expand Down

0 comments on commit 3c447b8

Please sign in to comment.