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