File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.21 )
22set (CMAKE_CXX_STANDARD 20)
33set (CMAKE_CXX_STANDARD_REQUIRED ON )
4- set (CMAKE_OSX_ARCHITECTURES "arm64;x86_64" )
54set (CMAKE_CXX_VISIBILITY_PRESET hidden)
65
7- project (argon VERSION 1.0.0)
6+ if ("${CMAKE_SYSTEM_NAME } " STREQUAL "iOS" OR IOS )
7+ set (CMAKE_OSX_ARCHITECTURES "arm64" )
8+ else ()
9+ set (CMAKE_OSX_ARCHITECTURES "arm64;x86_64" )
10+ endif ()
11+
12+ project (argon VERSION 1.0.1)
813
914file (GLOB_RECURSE SOURCES
1015 src/*.cpp
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ std::string getBaseServerUrl() {
5656#elif defined(GEODE_IS_ANDROID32)
5757 static_assert (GEODE_COMP_GD_VERSION == 22074 , " Unsupported GD version" );
5858 originalUrl = (char *)(base::get () + 0x952E9E );
59+ #elif defined(GEODE_IS_IOS)
60+ static_assert (GEODE_COMP_GD_VERSION == 22074 , " Unsupported GD version" );
61+ originalUrl = (char *)(base::get () + 0x6af51a );
5962#else
6063 static_assert (false , " Unsupported platform" );
6164#endif
You can’t perform that action at this time.
0 commit comments