|
|
|
@ -42,6 +42,9 @@ set(LIBZIP_ENABLE_OPENSSL OFF CACHE BOOL "")
|
|
|
|
|
set(LIBZIP_ENABLE_WINDOWS_CRYPTO OFF CACHE BOOL "")
|
|
|
|
|
set(LIBZIP_DO_INSTALL OFF CACHE BOOL "")
|
|
|
|
|
add_subdirectory(libzip)
|
|
|
|
|
if(MSVC)
|
|
|
|
|
target_compile_options(zip PRIVATE /wd4244)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
set(XLSXIO_USE_DFHACK_LIBS ON CACHE BOOL "")
|
|
|
|
|
set(XLSXIO_BUILD_STATIC ON CACHE BOOL "")
|
|
|
|
@ -55,3 +58,6 @@ set(XLSXIO_LIBZIP_DIR "${CMAKE_CURRENT_BINARY_DIR}/libzip" CACHE PATH "")
|
|
|
|
|
set(XLSXIO_EXPAT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/libexpat" CACHE PATH "")
|
|
|
|
|
set(XLSXIO_ENABLE_INSTALL OFF CACHE BOOL "")
|
|
|
|
|
add_subdirectory(xlsxio)
|
|
|
|
|
if(MSVC)
|
|
|
|
|
target_compile_options(xlsxio_read_STATIC PRIVATE /wd4013 /wd4244)
|
|
|
|
|
endif()
|
|
|
|
|