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

configure.ac: work around broken libglog.pc in glog 0.7 and newer #130

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KanjiMonster
Copy link
Collaborator

glog since 0.7 requires multiple flags to be set, but only the CMake files do set them, the undocumented and untested[1] libglog.pc does not define them.

So set them ourselves when building against a 0.7 libglog.

Also, glog now uses C++14 as the standard, so update that as well.

[1] https://github.com/google/glog/releases/tag/v0.7.0

glog since 0.7 requires multiple flags to be set, but only the CMake
files do set them, the undocumented and untested[1] libglog.pc does not
define them.

So set them ourselves when building against a 0.7 libglog.

Also, glog now uses C++14 as the standard, so update that as well.

[1] https://github.com/google/glog/releases/tag/v0.7.0

Signed-off-by: Jonas Gorski <[email protected]>
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.

1 participant