Skip to content

Commit

Permalink
Install XrApiLayer_conformance_test_layer.json
Browse files Browse the repository at this point in the history
This is missing from at least the Openxr-cts-x64 bundle, and appears to not be installed by CMake

Taken the same approach as https://github.com/KhronosGroup/OpenXR-CTS/blob/devel/src/conformance/conformance_layer/CMakeLists.txt

Without this, `validApiLayer` fails on all runtimes when using a prebuild CTS bundle.
  • Loading branch information
fredemmott authored and rpavlik committed Nov 27, 2024
1 parent 26cd3eb commit 793c416
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/conformance/conformance_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ set_target_properties(
conformance_test PROPERTIES FOLDER ${CONFORMANCE_TESTS_FOLDER}
)

install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/XrApiLayer_conformance_test_layer.json
DESTINATION conformance
)

install(
TARGETS conformance_test
LIBRARY DESTINATION conformance
Expand Down

0 comments on commit 793c416

Please sign in to comment.