summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorAngga Permana <[email protected]>2022-10-27 16:38:25 +0700
committerGitHub <[email protected]>2022-10-27 11:38:25 +0200
commitd91f30958f5c9cb617c2738722c1966b8cd3ce67 (patch)
treef26cba1fe31a688a5978fba059d030bd5ff30b0a /cmake
parent51138175078e56d22aee7703d083708df683cac5 (diff)
downloadraylib-d91f30958f5c9cb617c2738722c1966b8cd3ce67.tar.gz
raylib-d91f30958f5c9cb617c2738722c1966b8cd3ce67.zip
Fix deprecation error on android api higher than 23 (#2778)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/LibraryConfigurations.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmake/LibraryConfigurations.cmake b/cmake/LibraryConfigurations.cmake
index 1e60e828..cc0f01e4 100644
--- a/cmake/LibraryConfigurations.cmake
+++ b/cmake/LibraryConfigurations.cmake
@@ -45,7 +45,6 @@ elseif (${PLATFORM} MATCHES "Android")
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
list(APPEND raylib_sources ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c)
- add_definitions(-DANDROID -D__ANDROID_API__=21)
include_directories(${ANDROID_NDK}/sources/android/native_app_glue)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--warn-shared-textrel -Wl,--fatal-warnings -u ANativeActivity_onCreate -Wl,-undefined,dynamic_lookup")