diff --git a/CMakeLists.txt b/CMakeLists.txt index df968db48..d89581d7c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ else() endif() set(QCA_MIN_VERSION "2.1.0") find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED) - if(NOT WIN32) + if(NOT WIN32 AND NOT APPLE) find_package(KF5PulseAudioQt REQUIRED) endif() add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index ab2c2f973..69646f0d1 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -7,7 +7,9 @@ add_subdirectory(battery) add_subdirectory(sendnotifications) add_subdirectory(mpriscontrol) add_subdirectory(photo) -add_subdirectory(systemvolume) +if(NOT APPLE) + add_subdirectory(systemvolume) +endif() if(NOT SAILFISHOS) add_subdirectory(clipboard) @@ -20,7 +22,7 @@ if(NOT SAILFISHOS) add_subdirectory(mousepad) add_subdirectory(sms) add_subdirectory(runcommand) - if(NOT WIN32) + if(NOT WIN32 AND NOT APPLE) add_subdirectory(screensaver-inhibit) add_subdirectory(sftp) add_subdirectory(pausemusic)