Browse Source

Apply LUA_USE_C89 consistently on 32-bit Android platforms

pull/7969/head
staphen 11 months ago committed by Gleb Mazovetskiy
parent
commit
9250107835
  1. 2
      3rdParty/Lua/CMakeLists.txt

2
3rdParty/Lua/CMakeLists.txt vendored

@ -24,7 +24,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin" AND DARWIN_MAJOR_VERSION VERSION_EQUAL 8)
find_package(MacportsLegacySupport REQUIRED)
target_link_libraries(lua_static PRIVATE MacportsLegacySupport::MacportsLegacySupport)
elseif(ANDROID AND ("${ANDROID_ABI}" STREQUAL "armeabi-v7a" OR "${ANDROID_ABI}" STREQUAL "x86"))
target_compile_definitions(lua_internal INTERFACE -DLUA_USE_C89)
target_compile_definitions(lua_static PUBLIC -DLUA_USE_C89)
elseif(NINTENDO_3DS OR VITA OR NINTENDO_SWITCH OR NXDK)
target_compile_definitions(lua_static PUBLIC -DLUA_USE_C89)
elseif(IOS)

Loading…
Cancel
Save