correct last commit

This commit is contained in:
Denis Blank 2015-07-21 18:00:54 +02:00 committed by Naios
parent d49d1b3a20
commit 894eb381c6

View File

@ -5,8 +5,6 @@ include(CheckCXXCompilerFlag)
include(CheckCXXSourceRuns)
include(CheckIncludeFiles)
message(STATUS ${CMAKE_COMPILER_IS_MSVC})
if(MSVC)
if(${MSVC_VERSION} LESS 1900)
message(FATAL_ERROR "You are using an unsupported version of Visual Studio "
@ -29,7 +27,7 @@ else()
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)
if(NOT COMPILER_SUPPORTS_CXX14)
if (CMAKE_COMPILER_IS_CLANGXX)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# Clang > 3.4 is ok
else()
message(FATAL_ERROR "Your compiler has no C++14 capability!")