-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add paho-mqtt-c/1.3.8 #4063
add paho-mqtt-c/1.3.8 #4063
Conversation
I have not applied the CMake patch for this, since it is kinda unclear what it is for and it seems to work just fine without That said, this patch goes back to the original recipe in https://github.com/conan-community/conan-paho-c And it seems like @uilianries wrote the patch in order to "Install only SSL when required" // @icraggs |
I detected other pull requests that are modifying paho-mqtt-c/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
An unexpected error happened and has been reported. Help is on its way! 🏇 |
All green in build 3 (
|
It also apears to delete some of the test targets
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a note:
the still used pack fix MingGW and OSX, seems to have nothing to do with OSX and MingGW
all it does is removing the -MD flag
IF(WIN32)
- ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -MD)
+ ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN)
ELSEIF(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
ADD_DEFINITIONS(-DOSX)
ENDIF()
so the name is a bit misleading .. ?
(and I wonder if this patch is needed at all ?)
PS:
this seems the way to handle that, but requires cmake 3.15 , what is actually ok, but paho is still on 2.8.??
https://cmake.org/cmake/help/latest/prop_tgt/MSVC_RUNTIME_LIBRARY.html
patch name is misleading, but I'm pretty sure this patch is required. MD shouldn't be forced. |
I wonder if anyone is successfully using this recipe in the version I get strange errors, I do not have them with the 1.3.7 version, that was successfully ignored here , #3834 difference is in the cmake files, here all the patches are missing ....
|
also that erorr, what does that mean
this , libpaho-mqtt3cs.a / libpaho-mqtt3c.a @Croydon , do you actually use that package in a project ? |
AFAIK, it was the purpose of |
yes, just tested, I built 1.3.8 base on #3834 where I adopted the cmake patches so they work with the new files I haven't tested all the profile I use, but that one I did work. I have pretty strong negative feelings for this package, its wasting my time like no other package 😠 |
I committed a fix |
Specify library name and version: paho-mqtt-c/1.3.8
conan-center hook activated.