Skip to content

Commit

Permalink
Get rid of the warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
aniawsz committed Nov 11, 2022
1 parent 3ae3529 commit 1262f6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.11)
cmake_minimum_required(VERSION 2.8.12)
project(Aquila CXX)

set(Aquila_VERSION_MAJOR 3)
Expand Down Expand Up @@ -139,9 +139,7 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
endif()

if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall -Wextra -Wcast-qual -Wcast-align -Wno-unused-parameter -Wmissing-include-dirs -Wpointer-arith -Wredundant-decls -Wshadow -fprofile-arcs -ftest-coverage")
include(CodeCoverage)
setup_target_for_coverage(coverage aquila_test htmlcov)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -Wall -Wextra -Wcast-qual -Wcast-align -Wno-unused-parameter -Wmissing-include-dirs -Wpointer-arith -Wredundant-decls -Wshadow")
endif()


Expand Down
2 changes: 1 addition & 1 deletion lib/unittestpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.1)
cmake_minimum_required(VERSION 2.8.12)
project(UnitTest++)

option(UTPP_USE_PLUS_SIGN "Set this to OFF is you with to use '-cpp' instead of '++' in lib/include paths" ON)
Expand Down

0 comments on commit 1262f6c

Please sign in to comment.