File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,12 @@ get_filename_component(PKGCONFIG_DIR "${PKGCONFIG}" DIRECTORY )
2121vcpkg_add_to_path ("${PKGCONFIG_DIR} " ) # Post install script runs pkg-config so it needs to be on PATH
2222vcpkg_add_to_path ("${CURRENT_HOST_INSTALLED_DIR} /tools/glib/" )
2323
24+ set (wayland false )
2425set (x11 false )
2526set (win32 false )
2627set (osx false )
2728if (VCPKG_TARGET_IS_LINUX)
28- set (OPTIONS -Dwayland-backend= false ) # CI missing at least wayland-protocols
29+ set (wayland true )
2930 set (x11 true )
3031 # Enable the wayland gdk backend (only when building on Unix except for macOS)
3132elseif (VCPKG_TARGET_IS_WINDOWS)
@@ -34,6 +35,7 @@ elseif(VCPKG_TARGET_IS_OSX)
3435 set (osx true )
3536endif ()
3637
38+ list (APPEND OPTIONS -Dwayland-backend=${wayland} ) #Enable the Wayland gdk backend (only when building on Unix)
3739list (APPEND OPTIONS -Dx11-backend=${x11} ) #Enable the X11 gdk backend (only when building on Unix)
3840list (APPEND OPTIONS -Dbroadway-backend=false ) #Enable the broadway (HTML5) gdk backend
3941list (APPEND OPTIONS -Dwin32-backend=${win32} ) #Enable the Windows gdk backend (only when building on Windows)
Original file line number Diff line number Diff line change 5656 {
5757 "name" : " vcpkg-tool-meson" ,
5858 "host" : true
59+ },
60+ {
61+ "name" : " wayland-protocols" ,
62+ "platform" : " linux"
5963 }
6064 ],
6165 "features" : {
Original file line number Diff line number Diff line change 11{
22 "versions" : [
33 {
4- "git-tree" : " a00d8b7fc33fb6fa4794606fa5a83d682dc94e70 " ,
4+ "git-tree" : " adfa7f2296204fe8e67abcc0a1ce8ea44215c15e " ,
55 "version" : " 4.22.0" ,
66 "port-version" : 0
77 },
You can’t perform that action at this time.
0 commit comments