mirror of
https://github.com/Fluorohydride/ygopro.git
synced 2026-10-27 04:09:36 +08:00
14 lines
266 B
CMake
14 lines
266 B
CMake
if(CMAKE_SIZEOF_VOID_P MATCHES 8)
|
|
set(PLATFORM 64)
|
|
MESSAGE(STATUS "Detected 64-bit platform")
|
|
else()
|
|
set(PLATFORM 32)
|
|
MESSAGE(STATUS "Detected 32-bit platform")
|
|
endif()
|
|
|
|
if(WIN32)
|
|
include(platform/win)
|
|
elseif(UNIX)
|
|
include(platform/unix)
|
|
endif()
|