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:
parent
b07a3de46c
commit
bbd45fb123
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user