From 8159e2baf726399fb368d506fa31d85cb0209180 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Wed, 13 Dec 2023 10:07:15 +0100 Subject: [PATCH] ci: fix typo in coverage option --- .github/workflows/ci.yaml | 2 +- CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e89bb2a..8493a0c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: cmake-version: "3.25" - name: Configure CMake - run: cmake -B build -S . -DBUILD_TESTING=ON -DBUILD_DOCS=OFF -DENABLE-COVERAGE=ON + run: cmake -B build -S . -DBUILD_TESTING=ON -DBUILD_DOCS=OFF -DENABLE_COVERAGE=ON - name: Build run: cmake --build build diff --git a/CMakeLists.txt b/CMakeLists.txt index a7da95c..531d2e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ project( VERSION ${project_version}) option(BUILD_DOCS "Build documentation" OFF) +option(ENABLE_COVERAGE "Generate coverage report" OFF) include(FetchContent) include(CTest)