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

Fix build for CMake 3.13.x #32

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Fix build for CMake 3.13.x #32

merged 2 commits into from
Apr 21, 2021

Conversation

misery
Copy link
Contributor

@misery misery commented Apr 20, 2021

CMake was not able to compile mocs_compilation.cpp sources if we provide
custom "incompatible flags". So let's disable that flags for CMake < 3.14.

Found by lgtm.com as they use cmake 3.13

CMake was not able to compile mocs_compilation.cpp sources if we provide
custom "incompatible flags". So let's disable that flags for CMake < 3.14.

Found by lgtm.com as they use cmake 3.13
Seems CMake cannot find the library on some systems even the header exists.
This leads to a linker error here:

  src/card/drivers/DeviceListener.cpp:56: error: undefined reference to 'udev_monitor_receive_device'

So let's use .pc files to get libudev.
@misery misery merged commit 08d1519 into Governikus:community Apr 21, 2021
@misery misery deleted the cmake313 branch April 21, 2021 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant