From d37c579ba47f00dfd3ae6029c0c4f2c91b90a05d Mon Sep 17 00:00:00 2001 From: Marc Alff Date: Mon, 10 Nov 2025 09:01:04 +0100 Subject: [PATCH] [BUILD] Remove CMAKE POLICY CMP0092 (#3741) --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4cb563280..a1c05d9660 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,12 +3,6 @@ cmake_minimum_required(VERSION 3.16) -if(POLICY CMP0092) - # https://cmake.org/cmake/help/latest/policy/CMP0092.html#policy:CMP0092 Make - # sure the /W3 is not removed from CMAKE_CXX_FLAGS since CMake 3.15 - cmake_policy(SET CMP0092 OLD) -endif() - # MSVC RTTI flag /GR should not be added to CMAKE_CXX_FLAGS by default. @see # https://cmake.org/cmake/help/latest/policy/CMP0117.html if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0")