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

cmake/FindMahoMqttC.cmake: fix static build #275

Closed
wants to merge 1 commit into from
Closed

cmake/FindMahoMqttC.cmake: fix static build #275

wants to merge 1 commit into from

Conversation

ffontaine
Copy link

Static libraries of paho-mqtt-c are not suffixed with -static since version 1.3.2 and eclipse/paho.mqtt.c@8cc51c7

See: eclipse/paho.mqtt.c#704

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

Static libraries of paho-mqtt-c are not suffixed with -static since
version 1.3.2 and
eclipse/paho.mqtt.c@8cc51c7

See: eclipse/paho.mqtt.c#704

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@fpagliughi
Copy link
Contributor

fpagliughi commented Sep 1, 2020

Oh, wow. I forgot this was here. Apologies! I'll pull this in, but I think it fixed the *nix build and breaks the Windows build.

Either way, thanks for the contribution. We're going to start looking at CMake and the build systems soon, so any comments and suggestions welcome.

fpagliughi added a commit that referenced this pull request Dec 13, 2020
@fpagliughi
Copy link
Contributor

Thanks again for the contribution, but this did break the Windows build. The block needs to stay in the file, but in an if(WIN32) condition.

@fpagliughi fpagliughi closed this Dec 13, 2020
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.

None yet

2 participants