summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorBerkus Decker <berkus@madfire.net>2015-09-22 18:46:47 +0300
committerBerkus Decker <berkus@madfire.net>2015-09-22 19:04:21 +0300
commit73339493aeb2ecba8568b268f98a790420b7db41 (patch)
tree5f7eacc409406e7737d1f571f7448c1382de4817 /CMakeLists.txt
parent3a3d648108cdaa53d1199aa3c15a4b8878693f65 (diff)
Add ALSA include directories to fix compile on some systems.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4085aa0..9de6a85 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,6 +54,7 @@ elseif (UNIX AND NOT APPLE)
if (NOT ALSA_FOUND)
message(FATAL_ERROR "ALSA API requested but no ALSA dev libraries found")
endif()
+ include_directories(${ALSA_INCLUDE_DIR})
list(APPEND LINKLIBS ${ALSA_LIBRARY} ${CMAKE_THREAD_LIBS_INIT})
add_definitions(-D__LINUX_ALSA__)
message(STATUS "Using Linux ALSA")