Browse Source

cmake: fix else statement

pull/1478/head
R4SAS 5 years ago committed by GitHub
parent
commit
2ac2da41cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/CMakeLists.txt

2
build/CMakeLists.txt

@ -192,7 +192,7 @@ if (CXX17_SUPPORTED) @@ -192,7 +192,7 @@ if (CXX17_SUPPORTED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
elseif(CXX11_SUPPORTED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else
else()
message(SEND_ERROR "C++17 nor C++11 standard not seems to be supported by compiler. Too old version?")
endif()

Loading…
Cancel
Save