From bbd45fb1231eec26cf0347d3b0054fde388f09ea Mon Sep 17 00:00:00 2001 From: Nils Wentzell Date: Fri, 6 Sep 2024 11:58:48 -0400 Subject: [PATCH] [cmake] Set cmake policies to current cmake version --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dca0f459..8033c5ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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