diff --git a/cmake/godotcpp.cmake b/cmake/godotcpp.cmake index 49480699..74ce940e 100644 --- a/cmake/godotcpp.cmake +++ b/cmake/godotcpp.cmake @@ -240,16 +240,15 @@ function( godotcpp_generate ) ### Platform is derived from the toolchain target # See GeneratorExpressions PLATFORM_ID and CMAKE_SYSTEM_NAME - set( SYSTEM_NAME - $<$:android> - $<$:ios> - $<$:linux> - $<$:macos> - $<$:web> - $<$:windows> - $<$:windows> + string( APPEND SYSTEM_NAME + "$<$:android.${ANDROID_ABI}>" + "$<$:ios>" + "$<$:linux>" + "$<$:macos>" + "$<$:web>" + "$<$:windows>" + "$<$:windows>" ) - string(REPLACE ";" "" SYSTEM_NAME "${SYSTEM_NAME}") ### Use the arch from the toolchain if it isn't set manually if( GODOT_ARCH )