Should now compile with g++ 4.8
This commit is contained in:
parent
7be882437b
commit
d3e0c80e18
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@ project (Simple-Web-Server)
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -Wall")
|
||||
|
||||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.9)
|
||||
message(FATAL_ERROR "GCC version >=4.9 required.")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8)
|
||||
message(FATAL_ERROR "GCC version >=4.8 required.")
|
||||
endif()
|
||||
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
|
||||
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue