diff options
author | Julian Eisel <julian@blender.org> | 2020-03-21 23:56:56 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-21 23:58:17 +0300 |
commit | 9e8afa8817ed8281cefd6e21720943575a2f3284 (patch) | |
tree | 24d35c1de18c1774b7fef42011db9372920d93a9 /build_files/build_environment/cmake/xr_openxr.cmake | |
parent | 1e8dfe79c6b2ec293146d93be44c8078762860f2 (diff) |
Fix OpenXR SDK failing to compile with no JsonCpp installed
Force the SDK to use its own, bundled JsonCpp sources.
Diffstat (limited to 'build_files/build_environment/cmake/xr_openxr.cmake')
-rw-r--r-- | build_files/build_environment/cmake/xr_openxr.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/build_environment/cmake/xr_openxr.cmake b/build_files/build_environment/cmake/xr_openxr.cmake index 3eb613e3a42..16da266c3d2 100644 --- a/build_files/build_environment/cmake/xr_openxr.cmake +++ b/build_files/build_environment/cmake/xr_openxr.cmake @@ -29,6 +29,7 @@ if(UNIX AND NOT APPLE) -DBUILD_WITH_WAYLAND_HEADERS=OFF -DBUILD_WITH_XCB_HEADERS=OFF -DBUILD_WITH_XLIB_HEADERS=ON + -DBUILD_WITH_SYSTEM_JSONCPP=OFF -DCMAKE_CXX_FLAGS=-DDISABLE_STD_FILESYSTEM=1 ) endif() |