diff options
author | Chris Robinson <[email protected]> | 2011-09-20 15:43:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-20 15:43:00 -0700 |
commit | b8d53fb7e9e88ac625bbe66e94bddfce8a636f9d (patch) | |
tree | ab3f56e4cab488f37f2ba9a18844f9abff1f30b0 /CMakeLists.txt | |
parent | 390d94ec97f52bf96a69dd7a698063c1e1f04bb2 (diff) |
Check for SLES/OpenSLES.h along with SLES/OpenSLES_Android.h
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63287dfa..87b85f0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -586,7 +586,7 @@ ENDIF() # Check for OpenSL (Android) backend IF(OPENSL) - CHECK_INCLUDE_FILE(SLES/OpenSLES_Android.h HAVE_SLES_OPENSLES_ANDROID_H) + CHECK_INCLUDE_FILES("SLES/OpenSLES.h;SLES/OpenSLES_Android.h" HAVE_SLES_OPENSLES_ANDROID_H) IF(HAVE_SLES_OPENSLES_ANDROID_H) CHECK_SHARED_FUNCTION_EXISTS(slCreateEngine "SLES/OpenSLES.h" OpenSLES "" HAVE_LIBOPENSLES) IF(HAVE_LIBOPENSLES) |