VERY experimental Nintendo Switch 2 emulator
C++
Removed the need for X11 on OS X
archshift051b162add56
diff --git a/CMakeLists.txt b/CMakeLists.txtindex e1614cd4a6..83b0863f93 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -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()