|
|
@ -419,26 +419,29 @@ endif()
|
|
|
|
if(BUILD_LIBRARY)
|
|
|
|
if(BUILD_LIBRARY)
|
|
|
|
ExternalProject_Get_Property(xlsxio_project INSTALL_DIR)
|
|
|
|
ExternalProject_Get_Property(xlsxio_project INSTALL_DIR)
|
|
|
|
set(XLSXIO_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
set(XLSXIO_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
|
|
|
|
ExternalProject_Get_Property(xlsxio_project BUILD_BYPRODUCTS)
|
|
|
|
|
|
|
|
set(XLSXIO_LIB ${BUILD_BYPRODUCTS})
|
|
|
|
include_directories(${XLSXIO_INSTALL_DIR}/include)
|
|
|
|
include_directories(${XLSXIO_INSTALL_DIR}/include)
|
|
|
|
add_library(xlsxio_read STATIC IMPORTED)
|
|
|
|
add_library(xlsxio_read STATIC IMPORTED)
|
|
|
|
set_target_properties(xlsxio_read PROPERTIES
|
|
|
|
set_target_properties(xlsxio_read PROPERTIES IMPORTED_LOCATION ${XLSXIO_LIB})
|
|
|
|
IMPORTED_LOCATION ${XLSXIO_INSTALL_DIR}/lib/libxlsxio_read.a)
|
|
|
|
|
|
|
|
add_dependencies(xlsxio_read xlsxio_project)
|
|
|
|
add_dependencies(xlsxio_read xlsxio_project)
|
|
|
|
|
|
|
|
|
|
|
|
ExternalProject_Get_Property(libzip_project INSTALL_DIR)
|
|
|
|
ExternalProject_Get_Property(libzip_project INSTALL_DIR)
|
|
|
|
set(LIBZIP_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
set(LIBZIP_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
|
|
|
|
ExternalProject_Get_Property(libzip_project BUILD_BYPRODUCTS)
|
|
|
|
|
|
|
|
set(LIBZIP_LIB ${BUILD_BYPRODUCTS})
|
|
|
|
include_directories(${LIBZIP_INSTALL_DIR}/include)
|
|
|
|
include_directories(${LIBZIP_INSTALL_DIR}/include)
|
|
|
|
add_library(zip STATIC IMPORTED)
|
|
|
|
add_library(zip STATIC IMPORTED)
|
|
|
|
set_target_properties(zip PROPERTIES
|
|
|
|
set_target_properties(zip PROPERTIES IMPORTED_LOCATION ${LIBZIP_LIB})
|
|
|
|
IMPORTED_LOCATION ${LIBZIP_INSTALL_DIR}/lib64/libzip.a)
|
|
|
|
|
|
|
|
add_dependencies(zip libzip_project)
|
|
|
|
add_dependencies(zip libzip_project)
|
|
|
|
|
|
|
|
|
|
|
|
ExternalProject_Get_Property(libexpat_project INSTALL_DIR)
|
|
|
|
ExternalProject_Get_Property(libexpat_project INSTALL_DIR)
|
|
|
|
set(LIBEXPAT_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
set(LIBEXPAT_INSTALL_DIR ${INSTALL_DIR})
|
|
|
|
|
|
|
|
ExternalProject_Get_Property(libexpat_project BUILD_BYPRODUCTS)
|
|
|
|
|
|
|
|
set(LIBEXPAT_LIB ${BUILD_BYPRODUCTS})
|
|
|
|
include_directories(${LIBEXPAT_INSTALL_DIR}/include)
|
|
|
|
include_directories(${LIBEXPAT_INSTALL_DIR}/include)
|
|
|
|
add_library(expat STATIC IMPORTED)
|
|
|
|
add_library(expat STATIC IMPORTED)
|
|
|
|
set_target_properties(expat PROPERTIES
|
|
|
|
set_target_properties(expat PROPERTIES IMPORTED_LOCATION ${LIBEXPAT_LIB})
|
|
|
|
IMPORTED_LOCATION ${LIBEXPAT_INSTALL_DIR}/lib64/libexpat.a)
|
|
|
|
|
|
|
|
add_dependencies(expat libexpat_project)
|
|
|
|
add_dependencies(expat libexpat_project)
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory(library)
|
|
|
|
add_subdirectory(library)
|
|
|
|