GodotVR / godot_openxr_vendors

Godot 4 wrapper for OpenXR vendors loaders and extensions
MIT License
83 stars 17 forks source link

Fix project cmake configuration #114

Closed m4gr3d closed 3 months ago

m4gr3d commented 3 months ago

The current cmake configuration (used for the gradle build) happens to work because vendors subdirectories have a similar layout to each other and relative to the common subdirectory, and the gradle build is always executed from the same location. However, attempt to execute the gradle build from another location and you'll notice that things fall apart as the specified cmake variables are now pointing to invalid locations.

This PR fixes this issue through the following changes: