This reverts commit 65429b9af6a2c99d340ab2dcddd41dab201f399c. Broke several projects, see https://reviews.llvm.org/D144509#4347562 onwards. Also reverts follow-up commit "[OpenMP] Compile assembly files as ASM, not C" This reverts commit 4072c8aee4c89c4457f4f30d01dc9bb4dfa52559. Also reverts fix attempt "[cmake] Set CMP0091 to fix Windows builds after the cmake_minimum_required bump" This reverts commit 7d47dac5f828efd1d378ba44a97559114f00fb64.
13 lines
468 B
CMake
13 lines
468 B
CMake
# CMake policy settings shared between LLVM projects
|
|
|
|
# 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()
|
|
# CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`
|
|
# New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html
|
|
if(POLICY CMP0116)
|
|
cmake_policy(SET CMP0116 OLD)
|
|
endif()
|