mirror of
https://github.com/brechtsanders/xlsxio
synced 2025-03-28 21:13:24 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
b2beebcf98
commit
02420144d7
@ -51,18 +51,15 @@ IF(WITH_LIBZIP)
|
||||
SET(ANYZIP_LIBRARIES ${LIBZIP_LIBRARIES})
|
||||
SET(ANYZIP_DEF USE_LIBZIP)
|
||||
ELSE()
|
||||
SET(USE_MINIZIP)
|
||||
ADD_DEFINITIONS(-DUSE_MINIZIP)
|
||||
SET(ANYZIP_DEF)
|
||||
IF(WITH_MINIZIP_NG)
|
||||
FIND_PACKAGE(minizip REQUIRED)
|
||||
SET(USE_MINIZIP_NG)
|
||||
ADD_DEFINITIONS(-DUSE_MINIZIP_NG)
|
||||
SET(ANYZIP_LIBRARIES MINIZIP::minizip)
|
||||
SET(ANYZIP_DEF USE_LIBZIP;USE_MINIZIP_NG)
|
||||
ELSE()
|
||||
FIND_PACKAGE(Minizip REQUIRED)
|
||||
FIND_PACKAGE(minizip REQUIRED)
|
||||
SET(ANYZIP_INCLUDE_DIRS ${MINIZIP_INCLUDE_DIRS})
|
||||
SET(ANYZIP_LIBRARIES ${MINIZIP_LIBRARIES})
|
||||
SET(ANYZIP_DEF USE_MINIZIP)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
# dependancy: expat
|
||||
|
Loading…
x
Reference in New Issue
Block a user