Fix openXR building with install_deps in some compilers.

This commit is contained in:
Bastien Montagne
2020-03-18 15:10:31 +01:00
parent efdc93fcc6
commit 82fc81816e

View File

@@ -3128,7 +3128,7 @@ compile_XR_OpenXR_SDK() {
fi
# To be changed each time we make edits that would modify the compiled result!
xr_openxr_magic=0
xr_openxr_magic=1
_init_xr_openxr_sdk
# Clean install if needed!
@@ -3186,7 +3186,7 @@ compile_XR_OpenXR_SDK() {
cmake_d="$cmake_d -D BUILD_WITH_XCB_HEADERS=OFF"
cmake_d="$cmake_d -D BUILD_WITH_XLIB_HEADERS=ON"
cmake $cmake_d ..
cmake $cmake_d "-DCMAKE_CXX_FLAGS=-DDISABLE_STD_FILESYSTEM=1" ..
make -j$THREADS && make install
make clean