Skip to content

Commit

Permalink
fix: change code coverage git repo. (#1454)
Browse files Browse the repository at this point in the history
  • Loading branch information
baixiaokuang committed Nov 1, 2022
1 parent 226800d commit b18d19d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

if(ENABLE_COVERAGE)
find_package(codecov)
if(NOT codecov)
if(NOT codecov_FOUND)
include(FetchContent)
FetchContent_Declare(
cmakecodecov
URL https://github.com/RWTH-HPC/CMake-codecov/archive/refs/heads/master.zip
URL https://github.com/baixiaokuang/CMake-codecov/archive/refs/heads/master.zip
)
FetchContent_Populate(cmakecodecov)
list(APPEND CMAKE_MODULE_PATH ${cmakecodecov_SOURCE_DIR}/cmake)
Expand Down

0 comments on commit b18d19d

Please sign in to comment.