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

Build system tweaks #22

Merged
merged 2 commits into from
Jul 14, 2022
Merged

Build system tweaks #22

merged 2 commits into from
Jul 14, 2022

Conversation

kitlith
Copy link
Member

@kitlith kitlith commented Jul 3, 2022

Have a minor change that fixes protobuf on my system, and a more major one of using vcpkg's manifest mode (as reccomended in their documentation). The latter means that dependencies from vcpkg are automatically grabbed when cmake configuration is done.

It occurs to me that perhaps the comment in the cmake file about installing protobuf is no longer necessary.

I've kept my changes as minimal as possible, by which I mean that I've not adjusted the other library dependencies to run through vcpkg, and I haven't adjusted how we call protobuf in our cmake script. If desirable, these are changes we can make in the future.

@kitlith kitlith requested a review from Eirenliel July 3, 2022 23:45
This fixes building with protobuf installed from vcpkg (on my machine).
In the interest of making minimal changes, I've turned on the flag to
make it compatible with FindProtobuf instead of using the current API of
protobuf_generate (which I did in the feeder app).
Again, in the interest of minimal changes, I've not touched anything
else. openvr can for sure be grabbed via vcpkg, linalg probably can as
well.

I've adjusted CI to not explicitly grab protobuf, hopefully that works.
@Eirenliel Eirenliel merged commit 717386b into SlimeVR:main Jul 14, 2022
@kitlith kitlith deleted the build_system branch July 14, 2022 23:29
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