From 14109d7a56c05a9a937247397fce01bd4c94738f Mon Sep 17 00:00:00 2001 From: Alexander Guryanov Date: Tue, 9 Jul 2024 09:18:56 +0300 Subject: [PATCH] Android support --- targets/dosbox-x-sdl2.cmake | 1 + targets/dosbox.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/targets/dosbox-x-sdl2.cmake b/targets/dosbox-x-sdl2.cmake index 669ef323..96ced107 100644 --- a/targets/dosbox-x-sdl2.cmake +++ b/targets/dosbox-x-sdl2.cmake @@ -761,6 +761,7 @@ elseif (X86_64) elseif (X86) target_compile_definitions(libdosbox-x-sdl2 PUBLIC -DX86) target_compile_definitions(libdosbox-x-jsdos PUBLIC -DX86) +elseif (ANDROID) else () set_target_properties(libdosbox-x-sdl2 PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32") set_target_properties(libdosbox-x-jsdos PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32") diff --git a/targets/dosbox.cmake b/targets/dosbox.cmake index 8794a5f8..3311acbf 100644 --- a/targets/dosbox.cmake +++ b/targets/dosbox.cmake @@ -201,6 +201,7 @@ if (X86_64) target_compile_definitions(libdosbox-core PUBLIC -DX86_64) elseif (X86) target_compile_definitions(libdosbox-core PUBLIC -DX86) +elseif (ANDROID) else () set_target_properties(libdosbox-core PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32") endif ()