Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed CMake's include of Android's native app glue #2486

Merged
merged 1 commit into from
May 20, 2022

Conversation

patm1987
Copy link
Contributor

Changed the set to a list(APPEND operation

You can test by creating an Android Studio C++ project and adding raylib to the CMake file

set(PLATFORM Android CACHE INTERNAL "Set Android platform")
add_subdirectory(external/raylib)

...

target_link_libraries( # Specifies the target library.
        demogame
        ...
        raylib

        # Links the target library to the log library
        # included in the NDK.
        ${log-lib})

`android_native_app_glue.c` wasn't appended to the `raylib_sources` as other libraries were.
@raysan5 raysan5 merged commit 76c3881 into raysan5:master May 20, 2022
@raysan5
Copy link
Owner

raysan5 commented May 20, 2022

@patm1987 Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants