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
Milestone
Comments
This is closed thanks to your PR and will be in 1.5.4 shortly. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 seeWITH_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.
The text was updated successfully, but these errors were encountered: