Add alsa to optional_component
This commit is contained in:
parent
c5a521af1f
commit
7613b2f526
@ -88,9 +88,6 @@ else(LINUX)
|
|||||||
find_package(ALSA)
|
find_package(ALSA)
|
||||||
pkg_check_modules(DBUS dbus-1)
|
pkg_check_modules(DBUS dbus-1)
|
||||||
endif(LINUX)
|
endif(LINUX)
|
||||||
if(ALSA_FOUND)
|
|
||||||
set(HAVE_ALSA ON)
|
|
||||||
endif()
|
|
||||||
if (NOT APPLE)
|
if (NOT APPLE)
|
||||||
find_package(X11)
|
find_package(X11)
|
||||||
endif()
|
endif()
|
||||||
@ -269,6 +266,14 @@ if(WIN32)
|
|||||||
option(ENABLE_WIN32_CONSOLE "Show the windows console even outside Debug mode" OFF)
|
option(ENABLE_WIN32_CONSOLE "Show the windows console even outside Debug mode" OFF)
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
optional_component(ALSA ON "ALSA integration"
|
||||||
|
DEPENDS "alsa" ALSA_FOUND
|
||||||
|
)
|
||||||
|
|
||||||
|
optional_component(LIBPULSE ON "Pulse audio integration"
|
||||||
|
DEPENDS "libpulse" LIBPULSE_FOUND
|
||||||
|
)
|
||||||
|
|
||||||
optional_component(DBUS ON "D-Bus support"
|
optional_component(DBUS ON "D-Bus support"
|
||||||
DEPENDS "D-Bus" DBUS_FOUND
|
DEPENDS "D-Bus" DBUS_FOUND
|
||||||
)
|
)
|
||||||
@ -305,10 +310,6 @@ else ()
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
optional_component(LIBPULSE ON "Pulse audio integration"
|
|
||||||
DEPENDS "libpulse" LIBPULSE_FOUND
|
|
||||||
)
|
|
||||||
|
|
||||||
optional_component(LIBLASTFM ON "Last.fm album cover provider"
|
optional_component(LIBLASTFM ON "Last.fm album cover provider"
|
||||||
DEPENDS "liblastfm" LASTFM5_LIBRARIES LASTFM5_INCLUDE_DIRS
|
DEPENDS "liblastfm" LASTFM5_LIBRARIES LASTFM5_INCLUDE_DIRS
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user