Skip to content

Commit

Permalink
Clone zlib-ng to build, not source directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored and FrancescAlted committed Aug 21, 2023
1 parent c83ae12 commit ce1602f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,10 @@ if(NOT DEACTIVATE_ZLIB)
message(STATUS "Using ZLIB-NG external sources for ZLIB support.")
include(FetchContent)
FetchContent_Declare(z-ng
GIT_REPOSITORY https://github.com/zlib-ng/zlib-ng
GIT_TAG 2.1.3
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/internal-complibs/zlib-ng
SUBBUILD_DIR internal-complibs/zlib-ng/subbuild
BINARY_DIR internal-complibs/zlib-ng/build
GIT_REPOSITORY https://github.com/zlib-ng/zlib-ng
GIT_TAG 2.1.3
SOURCE_DIR ${PROJECT_BINARY_DIR}/blosc2-internal-complibs/zlib-ng
BUILD_IN_SOURCE 0
)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
option(BUILD_SHARED_LIBS "" OFF)
Expand Down

0 comments on commit ce1602f

Please sign in to comment.