Skip to content

Commit

Permalink
Fixed linker error in static lib for GNU compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Aug 6, 2023
1 parent eaf56c7 commit 54545e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ if(GaussLib_INCLUDE_DIR)
include_directories(${ANDROID_APP_GLUE_DIR})
endif(LLGL_ANDROID_PLATFORM)

set(EXAMPLE_PROJECT_LIBS ${LLGL_DEPENDENCIES} ExampleBase)
set(EXAMPLE_PROJECT_LIBS ExampleBase ${LLGL_DEPENDENCIES})

if(LLGL_ANDROID_PLATFORM)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -u ANativeActivity_onCreate")
Expand Down

0 comments on commit 54545e0

Please sign in to comment.