Skip to content

Commit

Permalink
Disable GLFW_BUILD_WAYLAND
Browse files Browse the repository at this point in the history
  • Loading branch information
PGZXB committed Aug 3, 2024
1 parent 6daeec2 commit cb11e4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ if(IMGUI4CJ_GLFW_OPENGL3_BACKEND)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(GLFW_LIBRARY_TYPE "STATIC" CACHE STRING "" FORCE)
set(GLFW_BUILD_WAYLAND OFF CACHE BOOL "" FORCE)
add_subdirectory(${glfw_SOURCE_DIR} ${glfw_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()

Expand Down

0 comments on commit cb11e4d

Please sign in to comment.