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

FindZeroMQ: fix header detection #174

Merged
merged 1 commit into from
Oct 25, 2018
Merged

FindZeroMQ: fix header detection #174

merged 1 commit into from
Oct 25, 2018

Conversation

bkuhls
Copy link
Contributor

@bkuhls bkuhls commented Oct 24, 2018

FindZeroMQ.cmake, added by

8943c44#diff-1760adaac68b242c02c752a6efc72effR11

checks for zmq.hpp but the ZeroMQ output module includes zmq.h instead:

https://github.com/jacksonliam/mjpg-streamer/blob/master/mjpg-streamer-experimental/plugins/output_zmqserver/output_zmqserver.c#L40

so let's check for this file instead because the output module is not
written in C++. For reference see this Debian bug report about the split
of the zeromq and cppzmq packages:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697743

This patch fixes a configure error on systems where cppzmq is not
present:
http://autobuild.buildroot.net/results/dad/dad054954de76cab56333747274520f269be2066/build-end.log

FindZeroMQ.cmake, added by

8943c44#diff-1760adaac68b242c02c752a6efc72effR11

checks for zmq.hpp but the ZeroMQ output module includes zmq.h instead:

https://github.com/jacksonliam/mjpg-streamer/blob/master/mjpg-streamer-experimental/plugins/output_zmqserver/output_zmqserver.c#L40

so let's check for this file instead because the output module is not
written in C++. For reference see this Debian bug report about the split
of the zeromq and cppzmq packages:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697743

This patch fixes a configure error on systems where cppzmq is not
present:
http://autobuild.buildroot.net/results/dad/dad054954de76cab56333747274520f269be2066/build-end.log
@jacksonliam
Copy link
Owner

Thanks, Looks ok to me!

@machinekoder I assume you don't see any problems with this?

@machinekoder
Copy link
Contributor

Good point, thanks.

@jacksonliam jacksonliam merged commit ddb69b7 into jacksonliam:master Oct 25, 2018
@bkuhls bkuhls deleted the findzeromq branch December 8, 2018 16:42
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

3 participants