HomePhabricator

[CMake] Use append for CMAKE_REQUIRED_* variables

Authored by phosek on Sep 21 2020, 10:31 PM.

Description

[CMake] Use append for CMAKE_REQUIRED_* variables

This ensures that required includes and libraries such as -lm that
were added earlier aren't overwritten.

Differential Revision: https://reviews.llvm.org/D88068

Details

Committed
phosekSep 21 2020, 11:39 PM
Differential Revision
D88068: [CMake] Use append for CMAKE_REQUIRED_* variables
Parents
rG247c4fc50720: [CMake] Use find_dependency in LLVMConfig.cmake
Branches
Unknown
Tags
Unknown