CMakeLists cleanup and enable Android headless building.

This commit is contained in:
Ryan Houdek
2016-02-05 10:54:59 -06:00
parent 6305f09467
commit 2f7e3ae58e
3 changed files with 166 additions and 147 deletions

View File

@ -6,10 +6,10 @@ set(SRCS AudioCommon.cpp
set(LIBS "")
if(ANDROID)
if(OPENSLES_FOUND)
set(SRCS ${SRCS} OpenSLESStream.cpp)
set(LIBS ${LIBS} OpenSLES)
endif(ANDROID)
set(LIBS ${LIBS} ${OPENSLES_LIBRARIES})
endif(OPENSLES_FOUND)
if(ALSA_FOUND)
set(SRCS ${SRCS} AlsaSoundStream.cpp)