mirror of
https://github.com/Naios/continuable.git
synced 2026-02-07 02:09:46 +08:00
correct last commit
This commit is contained in:
parent
d49d1b3a20
commit
894eb381c6
@ -5,8 +5,6 @@ include(CheckCXXCompilerFlag)
|
|||||||
include(CheckCXXSourceRuns)
|
include(CheckCXXSourceRuns)
|
||||||
include(CheckIncludeFiles)
|
include(CheckIncludeFiles)
|
||||||
|
|
||||||
message(STATUS ${CMAKE_COMPILER_IS_MSVC})
|
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
if(${MSVC_VERSION} LESS 1900)
|
if(${MSVC_VERSION} LESS 1900)
|
||||||
message(FATAL_ERROR "You are using an unsupported version of Visual Studio "
|
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)
|
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)
|
||||||
|
|
||||||
if(NOT 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
|
# Clang > 3.4 is ok
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Your compiler has no C++14 capability!")
|
message(FATAL_ERROR "Your compiler has no C++14 capability!")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user