Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosquitto_pub -l and cmake problem #983

Closed
majekw opened this issue Oct 7, 2018 · 1 comment
Closed

mosquitto_pub -l and cmake problem #983

majekw opened this issue Oct 7, 2018 · 1 comment
Milestone

Comments

@majekw
Copy link
Contributor

majekw commented Oct 7, 2018

Hello,

mosquitto_pub -l compiled using cmake on Linux gives error:
Error: '-l' mode not available, threading support has not been compiled in.

It looks like using cmake, WITH_THREADING is set only in lib/ directory with local CMakeLists.txt and it's not a global Makefile flag. This way client/ doesn't see WITH_THREADING set and this was no issue until dde005e.

I put WITH_THREADING related config also to client/ directory in #982 and it fixes issue for me.

I suppose that this was also broken on Mac and maybe WIN, but went unnoticed.

@ralight ralight added this to the 1.5.4 milestone Nov 7, 2018
@ralight
Copy link
Contributor

ralight commented Nov 7, 2018

This is closed thanks to your PR and will be in 1.5.4 shortly.

@ralight ralight closed this as completed Nov 7, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants