mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
[CI] Require C++14 on travis
This commit is contained in:
parent
9c4354314e
commit
074c82315c
2 changed files with 4 additions and 5 deletions
|
|
@ -14,7 +14,7 @@ endif()
|
|||
# Enable warnings
|
||||
option(TURTLE_WERROR "Treat warnings as errors" ON)
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(TurtleTestMain INTERFACE -Wall -Wextra -pedantic -Wno-long-long)
|
||||
target_compile_options(TurtleTestMain INTERFACE -Wall -Wextra -pedantic)
|
||||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-Wunused-function TURTLE_CXX_UNUSED_FUNCTION)
|
||||
if(TURTLE_CXX_UNUSED_FUNCTION)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue