Skip to content

Commit e42c7a0

Browse files
committed
enable zlib-ng by default
1 parent 40dd137 commit e42c7a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ include(ExternalProject)
5151

5252

5353

54-
if (ZLIBNG)
54+
if (NOT ZLIBNG_DISABLE)
5555
message("zlib-ng enabled.")
56+
set(ZLIBNG "ON")
5657
ExternalProject_Add(zlib-ng
5758
PREFIX ${PROJECT_SOURCE_DIR}/ext/zlib-ng
5859
SOURCE_DIR ${PROJECT_SOURCE_DIR}/ext/zlib-ng
@@ -61,7 +62,7 @@ if (ZLIBNG)
6162
BUILD_COMMAND cd zlib-ng && make
6263
INSTALL_COMMAND ""
6364
)
64-
endif(ZLIBNG)
65+
endif(ZLIBNG_DISABLE)
6566

6667

6768
if (USE_HTSLIB)

0 commit comments

Comments
 (0)