Fix macos build
This commit is contained in:
parent
51e4e399f4
commit
58beafb242
2 changed files with 5 additions and 3 deletions
|
@ -31,7 +31,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
set(QCA_MIN_VERSION "2.1.0")
|
set(QCA_MIN_VERSION "2.1.0")
|
||||||
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
find_package(Qca-qt5 ${QCA_MIN_VERSION} REQUIRED)
|
||||||
if(NOT WIN32)
|
if(NOT WIN32 AND NOT APPLE)
|
||||||
find_package(KF5PulseAudioQt REQUIRED)
|
find_package(KF5PulseAudioQt REQUIRED)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS)
|
add_definitions(-DQT_NO_URL_CAST_FROM_STRING -DQT_NO_KEYWORDS)
|
||||||
|
|
|
@ -7,7 +7,9 @@ add_subdirectory(battery)
|
||||||
add_subdirectory(sendnotifications)
|
add_subdirectory(sendnotifications)
|
||||||
add_subdirectory(mpriscontrol)
|
add_subdirectory(mpriscontrol)
|
||||||
add_subdirectory(photo)
|
add_subdirectory(photo)
|
||||||
add_subdirectory(systemvolume)
|
if(NOT APPLE)
|
||||||
|
add_subdirectory(systemvolume)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT SAILFISHOS)
|
if(NOT SAILFISHOS)
|
||||||
add_subdirectory(clipboard)
|
add_subdirectory(clipboard)
|
||||||
|
@ -20,7 +22,7 @@ if(NOT SAILFISHOS)
|
||||||
add_subdirectory(mousepad)
|
add_subdirectory(mousepad)
|
||||||
add_subdirectory(sms)
|
add_subdirectory(sms)
|
||||||
add_subdirectory(runcommand)
|
add_subdirectory(runcommand)
|
||||||
if(NOT WIN32)
|
if(NOT WIN32 AND NOT APPLE)
|
||||||
add_subdirectory(screensaver-inhibit)
|
add_subdirectory(screensaver-inhibit)
|
||||||
add_subdirectory(sftp)
|
add_subdirectory(sftp)
|
||||||
add_subdirectory(pausemusic)
|
add_subdirectory(pausemusic)
|
||||||
|
|
Loading…
Reference in a new issue