X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=CMakeLists.txt;h=1242e400fa845a8433d107bf00736696f600935d;hb=966ee77918ec9c4c86c2f9d027c86c3510e0e6df;hp=b5116d9d93515228cef3292c1dec55f45db5b5fe;hpb=267194caeb2fe56530b11c440fefd01c344e5482;p=libstick.git diff --git a/CMakeLists.txt b/CMakeLists.txt index b5116d9..1242e40 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project (libstick) if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -ansi -pedantic") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++98 -pedantic") # I would like to use -pedantic, but VTK devs are not sufficiently # pedantic set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Werror")