-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mosquitto_pub -l if compiled using cmake.
Since dde005e mosquito_pub is throwing error that 'threading support has not been compiled' when compiled using cmake. It looks like WITH_THREADING flag is not set at top level Makefile and used only in lib/ directory, so library is correctly compiled with threading. But for client this flag is undefined, so it gives error on '-l' option. This commit moves part related to WITH_THREADING flag out of lib/CMakeLists.txt to top levele CMakeLists.txt, so it could be accessible to all subdirectories. Signed-off-by: Marek Wodzinski <[email protected]>
- Loading branch information
Showing
4 changed files
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters