mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
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:
@@ -1,5 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.5)
|
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)
|
project(inja LANGUAGES CXX VERSION 3.4.0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user