mirror of
https://github.com/Naios/continuable.git
synced 2025-12-08 09:47:43 +08:00
correct last commit
This commit is contained in:
parent
361b0425bd
commit
676c4fd8dc
@ -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!")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user