Clean up one compilation error and two warnings.

This commit is contained in:
Jitse Niesen
2010-01-26 16:02:19 +00:00
parent 1403cea087
commit bdb0e9fcd0
4 changed files with 13 additions and 6 deletions

View File

@@ -219,6 +219,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
option(EIGEN_COVERAGE_TESTING "Enable/disable gcov" OFF)
if(EIGEN_COVERAGE_TESTING)
set(COVERAGE_FLAGS "-fprofile-arcs -ftest-coverage")
set(CTEST_CUSTOM_COVERAGE_EXCLUDE "/test/")
else(EIGEN_COVERAGE_TESTING)
set(COVERAGE_FLAGS "")
endif(EIGEN_COVERAGE_TESTING)