Skip to content

Commit ac6be4d

Browse files
committed
build: correct the llbuild build when vendored
The value needs to be pushed through the cache as there is no control over the flags for the sub-build and `set` is scoped to the current directory.
1 parent e2f6512 commit ac6be4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ if(NOT LLBuild_FOUND)
6666
find_package(LLBuild REQUIRED)
6767
else()
6868
message("-- Vending swift-llbuild")
69-
set(LLBUILD_SUPPORT_BINDINGS Swift)
69+
set(LLBUILD_SUPPORT_BINDINGS Swift CACHE STRING "")
7070
FetchContent_Declare(LLBuild
7171
GIT_REPOSITORY https://github.com/apple/swift-llbuild
7272
GIT_TAG main)

0 commit comments

Comments
 (0)