Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with VKB_WSI_SELECTION set to WAYLAND #1278

Open
CatalinTermure opened this issue Feb 24, 2025 · 0 comments · May be fixed by #1279
Open

Build fails with VKB_WSI_SELECTION set to WAYLAND #1278

CatalinTermure opened this issue Feb 24, 2025 · 0 comments · May be fixed by #1279

Comments

@CatalinTermure
Copy link

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:

if (VKB_WSI_SELECTION STREQUAL WAYLAND)
set(GLFW_USE_WAYLAND ON)
endif()

This option was changed to GLFW_BUILD_WAYLAND in this commit to GLFW: glfw/glfw@2590d4c

@CatalinTermure CatalinTermure linked a pull request Feb 24, 2025 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant