Skip to content

Fixed CMake build so that CPack is only pulled in for PAHO_CPACK_ENAB… - #1665

Open
fpagliughi wants to merge 1 commit into
eclipse-paho:developfrom
fpagliughi:fix-cpack
Open

Fixed CMake build so that CPack is only pulled in for PAHO_CPACK_ENAB…#1665
fpagliughi wants to merge 1 commit into
eclipse-paho:developfrom
fpagliughi:fix-cpack

Conversation

@fpagliughi

Copy link
Copy Markdown
Contributor

Fix for #1654

CPack was being enabled and some CPACK variables were set, even when PAHO_ENABLE_CPACK=OFF.

This PR:

  • Moves include(CPack) and set(CPACK_PACKAGE_...)` into a conditional block
  • Sets PAHO_ENABLE_CPACK if PAHO_BUILD_DEB_PACKAGE is set (since it's now required as the DEB builder uses CPack)

@JeroenBrunnenkreef

Copy link
Copy Markdown

Any chance this will be merged in the next release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants