diff options
author | Puyan Lotfi <puyan@puyan.org> | 2019-10-24 18:36:10 -0400 |
---|---|---|
committer | Puyan Lotfi <puyan@puyan.org> | 2019-10-24 18:38:25 -0400 |
commit | bc58e0279b75402be1907b96fac89e12ed326590 (patch) | |
tree | b12ca2a9bfb7867114ee8ad488e8b0f7449341a4 /compiler-rt/cmake | |
parent | 9b8dd00403435f1d66f8390f6de83afabb328883 (diff) | |
download | bcm5719-llvm-bc58e0279b75402be1907b96fac89e12ed326590.tar.gz bcm5719-llvm-bc58e0279b75402be1907b96fac89e12ed326590.zip |
[compiler-rt] cmake: add include(BuiltinTests) to CompilerRTDarwinUtils
In cmake, if TEST_COMPILE_ONLY is set
compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake invokes try_compile_only()
but try_compile_only() is defined in BuiltinTests.cmake and is not included in
CompilerRTDarwinUtils.cmake. This patch simply includes it BuiltinTests.
Differential Revision: https://reviews.llvm.org/D69410
Diffstat (limited to 'compiler-rt/cmake')
-rw-r--r-- | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index 27abe6c9ee5..4667cc00482 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -1,5 +1,6 @@ include(CMakeParseArguments) include(CompilerRTUtils) +include(BuiltinTests) set(CMAKE_LIPO "lipo" CACHE PATH "path to the lipo tool") |