From 93bcf263a158f9efd31c7a15521b7812502d2f81 Mon Sep 17 00:00:00 2001 From: Simon Rit Date: Mon, 30 Jan 2023 08:22:52 +0100 Subject: [PATCH] COMP: Set CMake Policy 135 to NEW to suppress warnings in CMake 3.24 Idem as InsightSoftwareConsortium/ITK@e3d6c94eb962ce8bbe4de2d83a1289dfa5cb6921 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43d19ea63..e359495f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,8 @@ cmake_minimum_required(VERSION 3.9.5 FATAL_ERROR) set(CMAKE_POLICIES CMP0070 CMP0071 - CMP0072) + CMP0072 + CMP0135) foreach(p ${CMAKE_POLICIES}) if(POLICY ${p})