Commit 58beafb2 authored by Weixuan Xiao's avatar Weixuan Xiao

Fix macos build

parent 51e4e399
Pipeline #3633 passed with stage
in 8 minutes and 14 seconds
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment