FIX: fix a typo when building glfw

Change-Id: Ica11dba33f963230566ceceb65c8d51dea2446e8
This commit is contained in:
lane.wei 2024-01-22 16:31:32 +08:00 committed by Lane.Wei
parent 9d37a31338
commit 3cee03b6f1
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ else()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(_glfw_use_wayland "-DGLFW_USE_WAYLAND=ON")
set(_glfw_use_wayland "-DGLFW_USE_WAYLAND=ON")
else()
set(_glfw_use_wayland "-DGLFW_USE_WAYLAND=FF")
set(_glfw_use_wayland "-DGLFW_USE_WAYLAND=OFF")
endif()
bambustudio_add_cmake_project(GLFW