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

use new protobuf API protobuf_generate #182

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

Conversation

endif ()

include(FindProtobuf)
find_package(Protobuf CONFIG REQUIRED)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this find_package require a particular CMake version or Protobuf version?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aah, yepp, that was the catch...

this requires a "new" version of protobuf, but i dont know what version exactly

this may be a a problem on "always outdated" distros like debian...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah for protobuf we're stuck on the 3.21.X series unless we want to add the abseil dependency

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unless we want to add the abseil dependency

why not?

for me this just works

$ nix why-depends nixpkgs#protobuf nixpkgs#abseil-cpp
/nix/store/kdff9wgmdncv2bhik6mppra5nni10aa8-protobuf-24.4
└───/nix/store/xpxz880b33kilbw5lccvrqjk40i05ykp-abseil-cpp-20230125.3

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because in general i don't want to add new dependencies without a good reason, an specifically here I would also need to update https://github.com/blueprint-freespeech/ricochet-build

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.

Fails to link ricochet-refresh due to missing symbol related to abseil
2 participants