-
-
Save aoriani/e3633195274215cb13f607f7a97e2d91 to your computer and use it in GitHub Desktop.
Fixing typo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.6.0) | |
add_library(native_app_glue STATIC | |
${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c) | |
target_include_directories(native_app_glue PUBLIC | |
${ANDROID_NDK}/sources/android/native_app_glue) | |
find_library(log-lib | |
log) | |
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_onCreate") | |
add_library(helloworld-c SHARED | |
src/main/cpp/helloworld-c.cpp) | |
target_link_libraries(helloworld-c | |
android | |
native_app_glue | |
${log-lib}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment