Fixed android library detection.

This commit is contained in:
Armin Novak 2016-06-03 13:01:59 +02:00
parent be33a11754
commit 10460d3ebc
1 changed files with 0 additions and 4 deletions

View File

@ -8,10 +8,6 @@
if(OPENSLES_INCLUDE_DIR)
# Already in cache, be silent
set(OPENSLES_FIND_QUIETLY TRUE)
elseif(ANDROID)
# Android has no pkgconfig - fallback to default paths
set(PC_OPENSLES_INCLUDE_DIR "${ANDROID_SYSROOT}/usr/include")
set(PC_OPENSLES_LIBDIR "${ANDROID_SYSROOT}/usr/lib" )
else()
find_package(PkgConfig)
pkg_check_modules(PC_OPENSLES QUIET OpenSLES)