We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc974a0 commit 2830031Copy full SHA for 2830031
cmake/godotcpp.cmake
@@ -78,6 +78,13 @@ function(godot_arch_name OUTVAR)
78
endif()
79
80
81
+ # Direct match early out.
82
+ string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" ARCH)
83
+ if(ARCH IN_LIST ARCH_LIST)
84
+ set(${OUTVAR} "${ARCH}" PARENT_SCOPE)
85
+ return()
86
+ endif()
87
+
88
# Known aliases
89
set(x86_64 "w64;amd64;x86-64")
90
set(arm32 "armv7;armv7-a")
0 commit comments