mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 20:22:58 +00:00
Merge pull request #89 from archshift/X11-OSX
Removed the need for X11 on OS X
This commit is contained in:
commit
fda291816b
|
@ -65,7 +65,10 @@ if (ENABLE_GLFW)
|
||||||
|
|
||||||
set(GLFW_LIBRARIES glfw3)
|
set(GLFW_LIBRARIES glfw3)
|
||||||
else()
|
else()
|
||||||
|
if (NOT APPLE)
|
||||||
find_package(X11 REQUIRED)
|
find_package(X11 REQUIRED)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
pkg_search_module(GLFW REQUIRED glfw3)
|
pkg_search_module(GLFW REQUIRED glfw3)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue