[CMake] Load LLVMConfig for standalone build of builtins
authorJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Tue, 2 Aug 2016 05:51:05 +0000 (05:51 +0000)
committerJonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
Tue, 2 Aug 2016 05:51:05 +0000 (05:51 +0000)
commit9b2c3ab6206f9b220a005dfac933901987977c62
tree62569f49f378b2c2d89b52c7fd200fdb0c1069fb
parentfeb095598c5161966a7aaca67a56203fbb40cdbb
[CMake] Load LLVMConfig for standalone build of builtins

Therefore move some code into reusable macros.

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

llvm-svn: 277418
compiler-rt/CMakeLists.txt
compiler-rt/cmake/Modules/CompilerRTUtils.cmake
compiler-rt/lib/builtins/CMakeLists.txt