Skip to content

Commit

Permalink
Fix jsoncpp compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom committed Sep 21, 2024
1 parent fd33870 commit 1d4330c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
fn main() {
#[cfg(feature = "static")]
{
// See https://github.com/KhronosGroup/OpenXR-SDK-Source/issues/481 for why BUILD_WITH_SYSTEM_JSONCPP=OFF
let dst = cmake::Config::new("OpenXR-SDK")
.define("BUILD_API_LAYERS", "OFF")
.define("BUILD_TESTS", "OFF")
.define("OpenGL_GL_PREFERENCE", "GLVND")
.define("DYNAMIC_LOADER", "OFF")
.define("CMAKE_INSTALL_LIBDIR", "lib")
.define("BUILD_WITH_SYSTEM_JSONCPP", "OFF")
.profile("Release")
.build();

Expand Down

0 comments on commit 1d4330c

Please sign in to comment.