mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-31 16:36:34 -05:00
Removed the need for X11 on OS X
It only causes issues when someone (who doesn't need it) doesn't have it.
This commit is contained in:
@@ -65,7 +65,10 @@ if (ENABLE_GLFW)
|
||||
|
||||
set(GLFW_LIBRARIES glfw3)
|
||||
else()
|
||||
find_package(X11 REQUIRED)
|
||||
if (NOT APPLE)
|
||||
find_package(X11 REQUIRED)
|
||||
endif()
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_search_module(GLFW REQUIRED glfw3)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user