diff --git a/cmake/Platform.cmake b/cmake/Platform.cmake index a2c5371b..779ad324 100644 --- a/cmake/Platform.cmake +++ b/cmake/Platform.cmake @@ -49,10 +49,10 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS") set(GEODE_OUTPUT_NAME "Geode") set(GEODE_PLATFORM_BINARY "Geode.dylib") set(GEODE_MOD_BINARY_SUFFIX ".dylib" CACHE STRING "" FORCE) -elseif (GEODE_TARGET_PLATFORM STREQUAL "Win32") +elseif (GEODE_TARGET_PLATFORM STREQUAL "Win64") set_target_properties(${PROJECT_NAME} PROPERTIES - SYSTEM_NAME Win32 - GENERATOR_PLATFORM x86 + SYSTEM_NAME Win64 + GENERATOR_PLATFORM x64 ) target_compile_definitions(${PROJECT_NAME} INTERFACE NOMINMAX) diff --git a/cmake/PlatformDetect.cmake b/cmake/PlatformDetect.cmake index f652810b..5b536233 100644 --- a/cmake/PlatformDetect.cmake +++ b/cmake/PlatformDetect.cmake @@ -6,7 +6,7 @@ if (NOT DEFINED GEODE_TARGET_PLATFORM) set(GEODE_TARGET_PLATFORM "MacOS") endif() elseif(WIN32) - set(GEODE_TARGET_PLATFORM "Win32") + set(GEODE_TARGET_PLATFORM "Win64") elseif(ANDROID) if (ANDROID_ABI STREQUAL "arm64-v8a") set(GEODE_TARGET_PLATFORM "Android64") diff --git a/flash.toml b/flash.toml index f07d1967..a966930f 100644 --- a/flash.toml +++ b/flash.toml @@ -49,7 +49,7 @@ config-args = [ "-DCMAKE_CXX_COMPILER=Clang", "-DCMAKE_C_COMPILER=Clang", "-DGEODE_BUILDING_DOCS=On", - "-DGEODE_PLATFORM_NAME=Win32", + "-DGEODE_PLATFORM_NAME=Win64", "-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang", "-DWIN32=On" ]