summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-03 16:15:46 +0200
committerbunnei <bunneidev@gmail.com>2014-09-03 16:15:46 +0200
commitfda291816b4b86ace15a210d66143a2dadc769e0 (patch)
treed2f7820e7395aca9622a6093a9cdbbf3114490bb /CMakeLists.txt
parentMerge pull request #69 from yuriks/cmake-cleanup (diff)
parentRemoved the need for X11 on OS X (diff)
downloadyuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar.gz
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar.bz2
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar.lz
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar.xz
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.tar.zst
yuzu-fda291816b4b86ace15a210d66143a2dadc769e0.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e1614cd4a..83b0863f9 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()