ref:f7893b0b1a35e0c3068c5bbefb3830b792dba294

build(Linux): Allow building with Vulkan but without Wayland (#5377)

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
SHA: f7893b0b1a35e0c3068c5bbefb3830b792dba294
Author: James Le Cuirot <chewi@gentoo.org>
Date: 2026-07-05 22:38
Parents: 90256f6
1 files changed +3 -1
Type
cmake/compile_definitions/linux.cmake +3 −1
@@ -220,7 +220,6 @@
include_directories(
SYSTEM
${WAYLAND_INCLUDE_DIRS}
${CMAKE_BINARY_DIR}/generated-src
)
list(APPEND PLATFORM_LIBRARIES ${WAYLAND_LIBRARIES} gbm)
@@ -323,6 +322,9 @@
if (${SUNSHINE_BUILD_FLATPAK})
list(APPEND SUNSHINE_DEFINITIONS SUNSHINE_BUILD_FLATPAK=1)
endif ()
include_directories(SYSTEM
${CMAKE_BINARY_DIR}/generated-src)
list(APPEND PLATFORM_TARGET_FILES
"${CMAKE_SOURCE_DIR}/src/platform/linux/publish.cpp"