summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <[email protected]>2017-06-13 19:23:13 +0200
committerPino Toscano <[email protected]>2017-06-13 19:23:13 +0200
commitaa17187d5a2c28e926d8dbe0d32c539f0ab75612 (patch)
treebafba510a9efd663a764e16d67424c0e7dd78b87
parent006fda07f559206f9f9f1ccc29080ce71a367b09 (diff)
cmake: use the ALSA include dirs, if found
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b25c7d7..fc8e84c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,6 +15,10 @@ set_package_properties(ALSA PROPERTIES
set(HAVE_ALSA ${ALSA_FOUND})
configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
+if (HAVE_ALSA)
+ include_directories(${ALSA_INCLUDE_DIRS})
+endif ()
+
set(wmlib_audio_SRCS
wmlib/audio/audio.c
wmlib/audio/audio_arts.c