diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-03-16 08:29:07 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-03-16 08:29:07 -0500 |
commit | 9482a77503a72cbda7ca824c2ff9bd66b04098fb (patch) | |
tree | 176b385ac79cfe021e2953943711915cae092c88 /CMakeLists.txt | |
parent | 1e659cd3e96554c77cea09266f8b24fc153a186c (diff) | |
download | ayatana-indicator-display-9482a77503a72cbda7ca824c2ff9bd66b04098fb.tar.gz ayatana-indicator-display-9482a77503a72cbda7ca824c2ff9bd66b04098fb.tar.bz2 ayatana-indicator-display-9482a77503a72cbda7ca824c2ff9bd66b04098fb.zip |
use cmake-extras' EnableCoverageReport instead of home-rolled rules
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9302542..bb7568e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ set(SERVICE_LIB ${PACKAGE}) set(SERVICE_EXEC "${PACKAGE}-service") option(enable_tests "Build the package's automatic tests." ON) -option(enable_lcov "Generate lcov code coverage reports." ON) +option(enable_coverage "Generate code coverage reports." ON) ## ## GNU standard paths @@ -74,8 +74,8 @@ add_compile_options(-std=c++14 -fPIC -g) if(${enable_tests}) enable_testing() - if(${enable_lcov}) - include(GCov) + if(${enable_coverage}) + include(EnableCoverageReport) endif() endif() |