Skip to content

Commit bc58e02

Browse files
committed
[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
1 parent 9b8dd00 commit bc58e02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include(CMakeParseArguments)
22
include(CompilerRTUtils)
3+
include(BuiltinTests)
34

45
set(CMAKE_LIPO "lipo" CACHE PATH "path to the lipo tool")
56

0 commit comments

Comments
 (0)