diff --git a/cmake/Htslib.cmake b/cmake/Htslib.cmake index caabc1a39..9260ac2d4 100644 --- a/cmake/Htslib.cmake +++ b/cmake/Htslib.cmake @@ -45,7 +45,7 @@ if(NOT TARGET htslib) # lazy include guard BUILD_IN_SOURCE 1 CONFIGURE_COMMAND ${AUTOHEADER_COMMAND} COMMAND ${AUTOCONF_COMMAND} - COMMAND ./configure --disable-bz2 --disable-lzma --disable-libcurl --disable-s3 --disable-gcs ${CONFIGURE_FLAGS} + COMMAND ./configure --disable-bz2 --disable-lzma --disable-libcurl --disable-s3 --disable-gcs --without-libdeflate ${CONFIGURE_FLAGS} BUILD_COMMAND ${MAKE_COMMAND} install prefix=${htslib_PREFIX} COMMAND ${INSTALL_NAME} INSTALL_COMMAND ""