mirror of https://github.com/FreeRDP/FreeRDP
Fixed android library detection.
This commit is contained in:
parent
be33a11754
commit
10460d3ebc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue