Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
Fix deprecated cmake-extra usage
Browse files Browse the repository at this point in the history
Replace include(EnableCoverageReport) with find_package(CoverageReport),
as the former is deprecated and won't work in cmake-extras 1.4 and up.

Also B-D on new enough cmake-extras (which is ancient at this point, but
just in case).
  • Loading branch information
peat-psuwit committed Jan 22, 2021
1 parent ac69b16 commit f30b293
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(cmake_build_type_lower MATCHES "debug")
add_definitions(-DQT_QML_DEBUG)
endif()

include(EnableCoverageReport)
find_package(CoverageReport)
#####################################################################
# Enable code coverage calculation with gcov/gcovr/lcov
# Usage:
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Maintainer: Ubuntu Developers <[email protected]>
Build-Depends:
android-headers,
cmake,
cmake-extras,
cmake-extras (>= 0.10),
dbus-test-runner,
debhelper (>= 9),
dh-apparmor,
Expand Down

0 comments on commit f30b293

Please sign in to comment.