From fe6d4f4c899935d2087fc1e3b1a0be97ce34f58b Mon Sep 17 00:00:00 2001 From: Berscheid <1885260+pantor@users.noreply.github.com> Date: Mon, 24 Jul 2023 08:35:30 +0200 Subject: [PATCH 1/2] Fix Codacy badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 809d8389..2797df1c 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Documentation Status - + From fe5826075274cea9ef31ecfeb7a58365be2b42ea Mon Sep 17 00:00:00 2001 From: Bren Date: Sun, 3 Sep 2023 16:11:47 +0200 Subject: [PATCH 2/2] Set CMake policy 0077 for easy inclusion from other CMake prjs (#262) Co-authored-by: Bren de Hartog --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69673d56..28b2771c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,9 @@ cmake_minimum_required(VERSION 3.5) +# See https://cmake.org/cmake/help/latest/policy/CMP0077.html +# This allows for setting option variables externally, when this project +# is included in another CMake project. +cmake_policy(SET CMP0077 NEW) project(inja LANGUAGES CXX VERSION 3.4.0)