SlimeVR / SlimeVR-OpenVR-Driver

SlimeVR driver for OpenVR
Apache License 2.0
204 stars 46 forks source link

Build system tweaks #22

Closed kitlith closed 1 year ago

kitlith commented 2 years ago

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.