Skip to content

Commit 0af415d

Browse files
[compiler-rt][CMake] Do not explicitly set CMP0114 to old (#90386)
This was added in def0823 to fix a bot failure, specifically for the standalone build. This does not seem to be an issue anymore, and setting the policy explicitly to OLD causes warnings with newer CMake versions. This patch removes setting the policy to OLD to get rid of the warning.
1 parent bf447e2 commit 0af415d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ include(ExternalProject)
22
include(CompilerRTUtils)
33
include(HandleCompilerRT)
44

5-
# CMP0114: ExternalProject step targets fully adopt their steps.
6-
# New in CMake 3.19: https://cmake.org/cmake/help/latest/policy/CMP0114.html
7-
if(POLICY CMP0114)
8-
cmake_policy(SET CMP0114 OLD)
9-
endif()
10-
115
function(set_target_output_directories target output_dir)
126
# For RUNTIME_OUTPUT_DIRECTORY variable, Multi-configuration generators
137
# append a per-configuration subdirectory to the specified directory.

0 commit comments

Comments
 (0)