Update CMakePlatforms.cmake

pull/564/head
Jonathan Schmidt 2017-02-21 09:25:56 -05:00 committed by GitHub
parent 944b3b9133
commit 2462546c48
1 changed files with 0 additions and 7 deletions

View File

@ -12,13 +12,6 @@ include(CMakeCompiler)
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
set(PLATFORM_WINDOWS 1)
set(PLATFORM_NAME "windows")
if( MSVC_VERSION GREATER 1800 )
set(REQUIRED_WINDOWSSDK_VERSION 10.0.10586.0)
message(STATUS "Windows SDK version found: ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}")
if ( CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION VERSION_LESS REQUIRED_WINDOWSSDK_VERSION ) # Versions before this have serious bugs
message(FATAL_ERROR "Unsupported Windows SDK Version, ${REQUIRED_WINDOWSSDK_VERSION} or greater required")
endif()
endif()
set(PLATFORM_TOOLCHAIN_ENVIRONMENT_ONLY 1)
#include(Toolchain-XBoxOne)
#include(Toolchain-PS4)