aboutsummaryrefslogtreecommitdiff
path: root/c/cmake
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2025-03-15 10:38:23 -0700
committerJack O'Connor <[email protected]>2025-03-15 14:27:40 -0700
commit2374b56df6be47d2865e512dc80c1f4f4c0b89d3 (patch)
treead5a1533c32bfcbee585615cead1c684dccf3525 /c/cmake
parentd219a4d3864f5c51d36bda9fe9ac253bcfa064f4 (diff)
example_tbb.c
Diffstat (limited to 'c/cmake')
-rw-r--r--c/cmake/BLAKE3/Examples.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/cmake/BLAKE3/Examples.cmake b/c/cmake/BLAKE3/Examples.cmake
index 8911820..8f0edc5 100644
--- a/c/cmake/BLAKE3/Examples.cmake
+++ b/c/cmake/BLAKE3/Examples.cmake
@@ -3,4 +3,11 @@ if(NOT WIN32)
example.c)
target_link_libraries(blake3-example PRIVATE blake3)
install(TARGETS blake3-example)
+
+ if(BLAKE3_USE_TBB)
+ add_executable(blake3-example-tbb
+ example_tbb.c)
+ target_link_libraries(blake3-example-tbb PRIVATE blake3)
+ install(TARGETS blake3-example-tbb)
+ endif()
endif()