Replace the -std=c++14 here
|
set(FLAGS "${FLAGS} --std=c++14 -Wall -Wextra -Wpedantic -Werror -Wno-extra-semi -Werror=unused-parameter -Wno-error=deprecated-declarations") |
with
set(CMAKE_CXX_STANDARD 14).
Tagging with CGNS as that code requires C++14:
|
if(ENABLE_CGNS) #takes precedence over SCOREC_ENABLE_CXX11 |
|
message(STATUS "enabling cxx14") |
|
bob_cxx14_flags() |
Replace the
-std=c++14herecore/cmake/bob.cmake
Line 98 in 8959c59
with
set(CMAKE_CXX_STANDARD 14).Tagging with CGNS as that code requires C++14:
core/CMakeLists.txt
Lines 40 to 42 in 8959c59