Build fails with VKB_WSI_SELECTION set to WAYLAND
envgap__KhronosGroup__Vulkan-Samples-1278
01 / FAILURE SIGNATURE
As reported upstream
GLFW_USE_WAYLAND has been removed; delete the CMake cache and set
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
aaccd0ccd3fa8753d0c0764c76e56f3e53671a8c- Manifest
third_party/CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
KhronosGroup/Vulkan-Samples #1278 · read the original issue
Building the samples for Wayland by setting `VKB_WSI_SELECTION` to `WAYLAND` causes the build to fail during the CMake configure step with the following message: > CMake Error at third_party/glfw/CMakeLists.txt:23 (message): GLFW_USE_WAYLAND has been removed; delete the CMake cache and set GLFW_BUILD_WAYLAND and GLFW_BUILD_X11 instead Currently, the Vulkan-Samples CMake script sets the `GLFW_USE_WAYLAND` option in order to build GLFW for Wayland: https://github.com/KhronosGroup/Vulkan-Samples/blob/04f60807679e86a296ca04c76d6c70f68ff33fb8/third_party/CMakeLists.txt#L395-L397 This option was changed to `GLFW_BUILD_WAYLAND` in this commit to GLFW: https://github.com/glfw/glfw/commit/2590d4cdd460b6d4a4bbc17328f283f447f1c3e9
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]