diff options
| author | Florent Castelli <florent.castelli@gmail.com> | 2017-02-04 00:55:29 +0100 |
|---|---|---|
| committer | Florent Castelli <florent.castelli@gmail.com> | 2017-02-04 03:38:11 +0100 |
| commit | fb02a321b6842ceeef14d8eb15bb11b20c90dabf (patch) | |
| tree | 0a87913a6b550ac889df2e3de724019de4077961 /Source/Core/AudioCommon | |
| parent | 529dc6aa5330cdd50e17ccbdbe35600f29573c7a (diff) | |
cmake: Move OpenSLES detection to AudioCommon through find_package()
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/CMakeLists.txt b/Source/Core/AudioCommon/CMakeLists.txt index 9cc835707b..cd852e0366 100644 --- a/Source/Core/AudioCommon/CMakeLists.txt +++ b/Source/Core/AudioCommon/CMakeLists.txt @@ -6,9 +6,11 @@ set(SRCS AudioCommon.cpp set(LIBS "") +find_package(OpenSLES) if(OPENSLES_FOUND) + message(STATUS "OpenSLES found, enabling OpenSLES sound backend") set(SRCS ${SRCS} OpenSLESStream.cpp) - set(LIBS ${LIBS} ${OPENSLES_LIBRARIES}) + set(LIBS ${LIBS} OpenSLES::OpenSLES) endif() if(ALSA_FOUND) |
