projects
/
rtaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a3d648
)
Add ALSA include directories to fix compile on some systems.
author
Berkus Decker
<berkus@madfire.net>
Tue, 22 Sep 2015 15:46:47 +0000
(18:46 +0300)
committer
Berkus Decker
<berkus@madfire.net>
Tue, 22 Sep 2015 16:04:21 +0000
(19:04 +0300)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4085aa0bdcc3c09904b32e180e0fa072629225e8..9de6a85dada99036a3020fd3ac742359a2af4370 100644
(file)
--- 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")