diff options
| author | silvanshade <[email protected]> | 2025-03-31 17:48:45 -0600 |
|---|---|---|
| committer | Henrik Gaßmann <[email protected]> | 2025-04-02 18:40:22 +0200 |
| commit | 89843490f2f6c535bfabb164bdad80043c8f6afd (patch) | |
| tree | 81fce622e119f4a0e0558d9680d14ae48cab6f16 | |
| parent | 3f089cb8c7a90180107f0d6981e85aa8106a9c8e (diff) | |
Propagate tbb through CMake config
| -rw-r--r-- | c/blake3-config.cmake.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/c/blake3-config.cmake.in b/c/blake3-config.cmake.in index 071552b..92cf395 100644 --- a/c/blake3-config.cmake.in +++ b/c/blake3-config.cmake.in @@ -1,5 +1,14 @@ @PACKAGE_INIT@ +include(CMakeFindDependencyMacro) + +# Remember TBB option state +set(BLAKE3_USE_TBB @BLAKE3_USE_TBB@) + +if(BLAKE3_USE_TBB) + find_dependency(TBB @TBB_VERSION@) +endif() + include("${CMAKE_CURRENT_LIST_DIR}/blake3-targets.cmake") -check_required_components(blake3)
\ No newline at end of file +check_required_components(blake3) |
