Skip to content
Snippets Groups Projects
Commit ca4842d1 authored by Daniel Wielanek's avatar Daniel Wielanek
Browse files

Force cxx 17

parent 55ac669d
No related branches found
No related tags found
No related merge requests found
Pipeline #16545 failed
......@@ -58,7 +58,8 @@ if(NOT DEFINED NICAFEMTO_SUBDIR_BUILD)
If(NOT _HAS_CXX17_FLAG)
Message(FATAL_ERROR "The used C++ compiler (${CMAKE_CXX_COMPILER}) does not support C++17. NicaFemto can only be compiled with compilers supporting C++11. Please install such an compiler.")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_STANDARD_REQUIRED ON)
EndIf()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment