Update CocosConfigDefine.cmake

This commit is contained in:
halx99 2021-08-27 01:08:14 +08:00 committed by GitHub
parent 30625f2330
commit 6b25a52445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -14,8 +14,10 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
set(WINDOWS TRUE)
if("${CMAKE_GENERATOR_PLATFORM}" STREQUAL "Win64")
set(WIN64 TRUE)
set(ARCH_ALIAS "x64")
else()
set(WIN32 TRUE)
set(ARCH_ALIAS "x86")
endif()
set(PLATFORM_FOLDER win32)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")