Conversation
|
I tested on Ubuntu with master and it is an empty zip, with your PR it creates the correct zip. However, on Windows with or without your PR it creates an incomplete zip, only including the klv library. Let me try a few things. |
|
yes i should've mention i only tested on linux... |
|
@5shekel can you test my cpack-0 branch? I added one more commit, which seems to work both on Windows and Linux. I changed the behavior of |
|
its empty zip with your mods on WSL/ubuntu |
I haven't read the full PR here, but skimming I see a lot of... install(
TARGETS ${libname}
LIBRARY DESTINATION lib COMPONENT ${PLUGIN_INSTALL_DIR}
)Which is missing install(
TARGETS ${libname}
RUNTIME DESTINATION lib COMPONENT ${PLUGIN_INSTALL_DIR}
LIBRARY DESTINATION lib COMPONENT ${PLUGIN_INSTALL_DIR}
)ref: https://cmake.org/cmake/help/latest/command/install.html#installing-targets |
needs to adapt all
installdirective in cmakelist to added them to the package.otherwise it will generate an empty zip
see https://cmake.org/pipermail/cmake/2012-October/052410.html