Skip to content

Commit

Permalink
[compiler-rt] Set CMP0114 policy for standalone build
Browse files Browse the repository at this point in the history
Fixes sanitizer-x86_64-linux-qemu bot.
  • Loading branch information
vitalybuka committed Nov 9, 2022
1 parent 0f8e7b4 commit def0823
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compiler-rt/cmake/Modules/AddCompilerRT.cmake
Expand Up @@ -2,6 +2,12 @@ include(ExternalProject)
include(CompilerRTUtils)
include(HandleCompilerRT)

# CMP0114: ExternalProject step targets fully adopt their steps.
# New in CMake 3.19: https://cmake.org/cmake/help/latest/policy/CMP0114.html
if(POLICY CMP0114)
cmake_policy(SET CMP0114 OLD)
endif()

function(set_target_output_directories target output_dir)
# For RUNTIME_OUTPUT_DIRECTORY variable, Multi-configuration generators
# append a per-configuration subdirectory to the specified directory.
Expand Down

0 comments on commit def0823

Please sign in to comment.