From 310eea14f66ffa2fb0a3e919a89e1fdf8731dcbb Mon Sep 17 00:00:00 2001 From: Kai Hermann Date: Thu, 18 Jan 2024 09:52:27 +0100 Subject: [PATCH] Make gtest dependency conditional (only use it when building for testing) (#30) * Make gtest dependency conditional (only use it when building for testing) * Bump version to 0.4.1 --------- Signed-off-by: Kai-Uwe Hermann --- CMakeLists.txt | 2 +- dependencies.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ce4593..466f6d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.14) -project(everest-evse_security VERSION 0.4.0 +project(everest-evse_security VERSION 0.4.1 DESCRIPTION "Implementation of EVSE related security operations" LANGUAGES CXX C ) diff --git a/dependencies.yaml b/dependencies.yaml index d2a9189..6cd1a90 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -8,3 +8,4 @@ gtest: # GoogleTest now follows the Abseil Live at Head philosophy. We recommend updating to the latest commit in the main branch as often as possible. git: https://github.com/google/googletest.git git_tag: release-1.12.1 + cmake_condition: "BUILD_TESTING OR BUILD_TESTING_EVSE_SECURITY"