Fix error with USE_BUNDLED_LIBS
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user