3
0
mirror of https://github.com/triqs/dft_tools synced 2024-10-31 11:13:46 +01:00

[cmake] Set cmake policies to current cmake version

This commit is contained in:
Nils Wentzell 2024-09-06 11:58:48 -04:00
parent b07a3de46c
commit bbd45fb123

View File

@ -20,10 +20,7 @@
# ##############################################################################
cmake_minimum_required(VERSION 3.20 FATAL_ERROR)
cmake_policy(VERSION 3.20)
if(POLICY CMP0144)
cmake_policy(SET CMP0144 NEW)
endif()
cmake_policy(VERSION ${CMAKE_VERSION})
# ############
# Define Project