Skip to content

Commit

Permalink
Android support
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Jul 9, 2024
1 parent d40024c commit 14109d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions targets/dosbox-x-sdl2.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions targets/dosbox.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down

0 comments on commit 14109d7

Please sign in to comment.