mirror of
https://github.com/ProjectSkyfire/SkyFire_548
synced 2026-08-18 06:32:13 -04:00
20 lines
633 B
CMake
20 lines
633 B
CMake
#
|
|
# This file is part of Project SkyFire https://www.projectskyfire.org.
|
|
# See COPYRIGHT file for Copyright information
|
|
#
|
|
|
|
# check what platform we're on and create a simpler test than CMAKE_SIZEOF_VOID_P
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
set(PLATFORM 64)
|
|
MESSAGE(STATUS "Detected 64-bit platform")
|
|
else()
|
|
MESSAGE(FATAL_ERROR "SkyFire requires a 64-bit compiler and target platform.")
|
|
endif()
|
|
|
|
include("${CMAKE_SOURCE_DIR}/cmake/platform/settings.cmake")
|
|
|
|
if(WIN32)
|
|
include("${CMAKE_SOURCE_DIR}/cmake/platform/win/settings.cmake")
|
|
elseif(UNIX)
|
|
include("${CMAKE_SOURCE_DIR}/cmake/platform/unix/settings.cmake")
|
|
endif()
|