aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2017-02-04 12:10:07 +0100
committerRainer Hochecker <fernetmenta@online.de>2017-02-05 10:11:37 +0100
commit2c22451a2196a7c73f829f85ee925209192d2d8a (patch)
tree516f33eb5507076a9aa6d77407f13b8550aae9ce /CMakeLists.txt
parent0e7867f27b6a27bea1b770874de2f9ba447f2f71 (diff)
cmake: fix handling of X11
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87550ed2e5..cf04bc1738 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,7 +193,7 @@ endif()
if(NOT WIN32)
core_optional_dep(OpenGl)
- if(OPENGL_FOUND)
+ if(OPENGL_FOUND AND NOT APPLE)
if(ENABLE_MIR)
core_require_dep(Mir ENABLE_MIR)
core_optional_dep(LibDRM ENABLE_MIR)