cleanup: remove _IRR_COMPILE_ANDROID_ASSET_READER_ build flag

it's enabled inconditionally on android

also remove some _IRR_COMPILE_WITH_ANDROID_DEVICE_ which are useless because cmake is already properly configured
This commit is contained in:
Loic Blot
2023-10-09 09:08:00 +02:00
committed by sfan5
parent ae63f1bf02
commit 7cade6f27f
9 changed files with 1 additions and 30 deletions

View File

@ -88,7 +88,7 @@ elseif(APPLE)
add_definitions(-D_IRR_OSX_PLATFORM_)
set(DEVICE "OSX")
elseif(ANDROID)
add_definitions(-D_IRR_ANDROID_PLATFORM_ -D_IRR_COMPILE_ANDROID_ASSET_READER_)
add_definitions(-D_IRR_ANDROID_PLATFORM_)
if(USE_SDL2)
message(FATAL_ERROR "SDL2 device is not (yet) supported on Android")
endif()