Skip to content
Snippets Groups Projects
Commit e180b26a authored by Tobias Leibner's avatar Tobias Leibner
Browse files

[cmake] enable -Werror if TRAVIS is defined

parent abe829d3
No related branches found
No related tags found
1 merge request!7Werror in ci
......@@ -15,7 +15,11 @@
# set up project
project("dune-gdt" CXX)
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.13)
if("${TRAVIS}" EQUAL "1")
add_compile_options(-Werror)
endif()
if(NOT
(dune-common_DIR
......
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