mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-04 15:58:04 +03:00
CMakeLists cleanup and enable Android headless building.
This commit is contained in:
parent
6305f09467
commit
2f7e3ae58e
3 changed files with 166 additions and 147 deletions
|
@ -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)
|
||||
|
|
|
@ -61,9 +61,6 @@ else()
|
|||
endif()
|
||||
|
||||
list(APPEND LIBS "${CMAKE_THREAD_LIBS_INIT}" ${VTUNE_LIBRARIES})
|
||||
if(NOT APPLE AND NOT ANDROID)
|
||||
list(APPEND LIBS rt)
|
||||
endif()
|
||||
|
||||
# OpenGL Interface
|
||||
set(SRCS ${SRCS}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue