OpenXR-SDK-Source
OpenXR-SDK-Source copied to clipboard
Can't build loader as static library
Attempting to build the loader with -DDYNAMIC_LOADER=OFF results in the following cmake error:
CMake Error: install(EXPORT "openxr_loader_export" ...) includes target "openxr_loader" which requires target "jsoncpp_interface" that is not in any export set.
CMake Error in src/loader/CMakeLists.txt:
export called with target "openxr_loader" which requires target
"jsoncpp_interface" that is not in any export set.
An issue (number 2323) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2323 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.
Seems this can be worked around with by running cmake with -DBUILD_WITH_SYSTEM_JSONCPP=OFF.