libsoundio/cmake/FindAndroidOpenSLES.cmake
2016-11-08 19:20:03 -08:00

17 lines
543 B
CMake

# Copyright (c) 2016 libsoundio
# This file is MIT licensed.
# See http://opensource.org/licenses/MIT
# ANDROID_OPENSLES_FOUND
# ANDROID_OPENSLES_INCLUDE_DIR
# ANDROID_OPENSLES_LIBRARY
find_path(ANDROID_OPENSLES_INCLUDE_DIR NAMES SLES/OpenSLES_Android.h)
find_library(ANDROID_OPENSLES_LIBRARY NAMES OpenSLES)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ANDROID_OPENSLES DEFAULT_MSG ANDROID_OPENSLES_LIBRARY ANDROID_OPENSLES_INCLUDE_DIR)
mark_as_advanced(ANDROID_OPENSLES_INCLUDE_DIR ANDROID_OPENSLES_LIBRARY)