diff --git a/CMakeLists.txt b/CMakeLists.txt index 70c2aed2f..f0f5b65fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,9 @@ endif(LINUX) if(ALSA_FOUND) set(HAVE_ALSA ON) endif() -find_package(X11) +if (NOT APPLE) + find_package(X11) +endif() if(X11_FOUND) set(HAVE_X11 ON) endif()