diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 07e14fa11..77ab97f89 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -191,9 +191,10 @@ if(BUILD_SUPPORTED) dfhack_plugin(workNow workNow.cpp) dfhack_plugin(xlsxreader xlsxreader.cpp LINK_LIBRARIES lua xlsxio_read zip expat ${LIB_Z_LIB}) dfhack_plugin(zone zone.cpp LINK_LIBRARIES lua) + + target_include_directories(xlsxreader PRIVATE ${XLSXIO_INSTALL_DIR}/include) + add_dependencies(xlsxreader xlsxio_project) endif() -target_include_directories(xlsxreader PRIVATE ${XLSXIO_INSTALL_DIR}/include) -add_dependencies(xlsxreader xlsxio_project) # this is the skeleton plugin. If you want to make your own, make a copy and then change it option(BUILD_SKELETON "Build the skeleton plugin." OFF)