Commit edd5e889 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Build solidautoeject only on FreeBSD

Solid's UDisks backend never emits the Solid::OpticalDrive::ejectPressed signal.
It is only present in HAL whereas Linux uses UDev these days.

Differential Revision: https://phabricator.kde.org/D13752
parent a58e4870
......@@ -166,7 +166,13 @@ add_subdirectory(ktimezoned)
add_subdirectory(kuiserver)
add_subdirectory(menu)
add_subdirectory(phonon)
# This ensures pressing the eject button on a CD drive ejects the disc
# It listens to the Solid::OpticalDrive::ejectPressed signal that is only
# supported by Solid in the HAL backend and does nothing with UDev
if(CMAKE_SYSTEM_NAME MATCHES FreeBSD)
add_subdirectory(solidautoeject)
endif()
ecm_optional_add_subdirectory(xembed-sni-proxy)
......
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