Fix error with USE_BUNDLED_LIBS

This commit is contained in:
2023-04-09 10:34:15 +02:00
parent ae46f09edf
commit f9731614c8
-2
View File
@@ -18,7 +18,6 @@ cmake_dependent_option(USE_BUNDLED_ZLIB "Use bundled Zlib" ON "USE_BUNDLED_LIBS"
find_package(PkgConfig REQUIRED)
if(USE_BUNDLED_LIBS)
if(USE_BUNDLED_LZ4)
list(APPEND THIRD_PARTY_SRC
lz4/lz4.c
@@ -59,7 +58,6 @@ if(USE_BUNDLED_LIBS)
else(USE_BUNDLED_ZLIB)
pkg_check_modules(ZLIB zlib IMPORTED_TARGET REQUIRED)
endif(USE_BUNDLED_ZLIB)
endif(USE_BUNDLED_LIBS)
add_library(XISF
bytearray.cpp