Moving libsolid-hal to unmaintained?

Rolf Eike Beer kde at opensource.sf-tec.de
Mon Apr 23 11:45:59 BST 2012


> Is there a way to have it so HAL is enabled by default on BSD systems,
> but on Linux systems you need to manually use a cmake flag to enable
> it?

if (CMAKE_SYSTEM_NAME MATCHES "BSD")
  set(HAL_OPTION_DEFAULT TRUE)
else ()
  set(HAL_OPTION DEFAULT FALSE)
endif ()

option(KDE4_USE_HAL "Enable Solid backend using HAL" ${HAL_OPTION_DEFAULT})

Eike




More information about the kde-core-devel mailing list