Skip to content

Commit fdad128

Browse files
committed
build: Stop enabling CMake's CMP0141 policy
The `CMAKE_MSVC_DEBUG_INFORMATION_FORMAT` variable has not been used since the merge of hebasto/bitcoin#215 in the CMake staging branch.
1 parent b2a6f54 commit fdad128

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
@@ -8,12 +8,6 @@
88
# Centos Stream 9, https://www.centos.org/cl-vs-cs/#end-of-life, EOL in May 2027:
99
# - CMake 3.26.5, https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/
1010
cmake_minimum_required(VERSION 3.22)
11-
if(POLICY CMP0141)
12-
# MSVC debug information format flags are selected by an abstraction.
13-
# We want to use the CMAKE_MSVC_DEBUG_INFORMATION_FORMAT variable
14-
# to select the MSVC debug information format.
15-
cmake_policy(SET CMP0141 NEW)
16-
endif()
1711

1812
if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
1913
message(FATAL_ERROR "In-source builds are not allowed.")

0 commit comments

Comments
 (0)