|
|
@ -420,17 +420,15 @@ if(BUILD_LIBRARY)
|
|
|
|
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 IMPORTED_LOCATION ${XLSXIO_LIB})
|
|
|
|
set_target_properties(xlsxio_read PROPERTIES IMPORTED_LOCATION ${XLSXIO_LIB})
|
|
|
|
|
|
|
|
|
|
|
|
include_directories(${LIBZIP_INSTALL_DIR}/include)
|
|
|
|
|
|
|
|
add_library(zip STATIC IMPORTED)
|
|
|
|
add_library(zip STATIC IMPORTED)
|
|
|
|
set_target_properties(zip PROPERTIES IMPORTED_LOCATION ${LIBZIP_LIB})
|
|
|
|
set_target_properties(zip PROPERTIES IMPORTED_LOCATION ${LIBZIP_LIB})
|
|
|
|
|
|
|
|
|
|
|
|
include_directories(${LIBEXPAT_INSTALL_DIR}/include)
|
|
|
|
|
|
|
|
add_library(expat STATIC IMPORTED)
|
|
|
|
add_library(expat STATIC IMPORTED)
|
|
|
|
set_target_properties(expat PROPERTIES IMPORTED_LOCATION ${LIBEXPAT_LIB})
|
|
|
|
set_target_properties(expat PROPERTIES IMPORTED_LOCATION ${LIBEXPAT_LIB})
|
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory(library)
|
|
|
|
add_subdirectory(library)
|
|
|
|
install(FILES LICENSE.rst docs/changelog.txt DESTINATION ${DFHACK_USERDOC_DESTINATION})
|
|
|
|
install(FILES LICENSE.rst docs/changelog.txt DESTINATION ${DFHACK_USERDOC_DESTINATION})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_dependencies(dfhack xlsxio_project)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
file(WRITE "${CMAKE_BINARY_DIR}/dfhack_setarch.txt" ${DFHACK_SETARCH})
|
|
|
|
file(WRITE "${CMAKE_BINARY_DIR}/dfhack_setarch.txt" ${DFHACK_SETARCH})
|
|
|
|