Set CMake policy 0077 for easy inclusion from other CMake prjs (#262)

Co-authored-by: Bren de Hartog <bren.github@dehartog.name>
This commit is contained in:
Bren
2023-09-03 16:11:47 +02:00
committed by GitHub
parent fe6d4f4c89
commit fe58260752

View File

@@ -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)