fix(build): disable Wayland on Linux CI
This commit is contained in:
@@ -144,7 +144,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y cmake ninja-build curl jq dpkg-dev
|
sudo apt-get install -y \
|
||||||
|
cmake ninja-build curl jq dpkg-dev \
|
||||||
|
libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev \
|
||||||
|
libgl1-mesa-dev
|
||||||
|
|
||||||
- name: Configure Linux release build
|
- name: Configure Linux release build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -17,6 +17,10 @@ set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
|
|||||||
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||||
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
|
||||||
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
|
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
|
||||||
|
if(UNIX AND NOT APPLE)
|
||||||
|
set(GLFW_BUILD_X11 ON CACHE BOOL "" FORCE)
|
||||||
|
set(GLFW_BUILD_WAYLAND OFF CACHE BOOL "" FORCE)
|
||||||
|
endif()
|
||||||
add_subdirectory(vendor/glfw EXCLUDE_FROM_ALL)
|
add_subdirectory(vendor/glfw EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
# Dear ImGui does not ship a CMake target, so keep its static-library recipe here.
|
# Dear ImGui does not ship a CMake target, so keep its static-library recipe here.
|
||||||
|
|||||||
Reference in New Issue
Block a user