From 65488b7f7e4ed1ab45a6f9acedc4b496feeb3b6e Mon Sep 17 00:00:00 2001 From: Ravbug Date: Wed, 14 Feb 2024 20:48:42 -0500 Subject: [PATCH] Maybe android build will work now --- CMakeLists.txt | 11 ++++++++++- RavEngine | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 15a1952..ce7ac7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) @@ -61,4 +63,11 @@ INSTALL(CODE " COMPONENT Runtime ) -endif() \ No newline at end of file +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} +) \ No newline at end of file diff --git a/RavEngine b/RavEngine index 0e403ae..40fbd86 160000 --- a/RavEngine +++ b/RavEngine @@ -1 +1 @@ -Subproject commit 0e403ae610448433c958a64dbc8f61fb8213f371 +Subproject commit 40fbd86a7e33a9ca563c5baf2d04f9660887ab3f