Skip to content

Commit

Permalink
Maybe android build will work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Feb 15, 2024
1 parent 6f1f029 commit 65488b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.21)

set(ANDROID_USE_LEGACY_TOOLCHAIN_FILE OFF CACHE BOOL "Don't use legacy android toolchain file" FORCE)

# make "install" write to the build directory
set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR})

Expand Down Expand Up @@ -61,4 +63,11 @@ INSTALL(CODE
"
COMPONENT Runtime
)
endif()
endif()


message(
CMAKE_SHARED_LINKER_FLAGS = ${CMAKE_SHARED_LINKER_FLAGS}
CMAKE_SHARED_LINKER_FLAGS_RELEASE = ${CMAKE_SHARED_LINKER_FLAGS_RELEASE}
CMAKE_SHARED_LINKER_FLAGS_DEBUG = ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}
)
2 changes: 1 addition & 1 deletion RavEngine

0 comments on commit 65488b7

Please sign in to comment.