Skip to content

Commit

Permalink
WIP: new try
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Dec 15, 2022
1 parent 33794d6 commit 11c9114
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ FetchContent_MakeAvailable(zstd_lib)

add_subdirectory("${zstd_lib_SOURCE_DIR}/build/cmake" "${zstd_lib_BINARY_DIR}")

set(Zstd_DIR ${zstd_lib_BINARY_DIR})
find_package(Zstd CONFIG REQUIRED) # find it now, so tensorstore finds the same zstd later
set(TENSORSTORE_USE_SYSTEM_ZSTD ON)
set(zstd_DIR ${zstd_lib_BINARY_DIR})
find_package(zstd CONFIG REQUIRED) # find it now, so tensorstore finds the same zstd later
add_library(Zstd::Zstd ALIAS libzstd_static)
# set(TENSORSTORE_USE_SYSTEM_ZSTD ON)

set(CMAKE_FOLDER TensorStore)
FetchContent_Declare(
Expand Down

0 comments on commit 11c9114

Please sign in to comment.