Skip to content

Commit d37c579

Browse files
authored
[BUILD] Remove CMAKE POLICY CMP0092 (#3741)
1 parent 4ba23ba commit d37c579

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33

44
cmake_minimum_required(VERSION 3.16)
55

6-
if(POLICY CMP0092)
7-
# https://cmake.org/cmake/help/latest/policy/CMP0092.html#policy:CMP0092 Make
8-
# sure the /W3 is not removed from CMAKE_CXX_FLAGS since CMake 3.15
9-
cmake_policy(SET CMP0092 OLD)
10-
endif()
11-
126
# MSVC RTTI flag /GR should not be added to CMAKE_CXX_FLAGS by default. @see
137
# https://cmake.org/cmake/help/latest/policy/CMP0117.html
148
if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.20.0")

0 commit comments

Comments
 (0)