Skip to content

Commit 05c4794

Browse files
author
serge-sans-paille
committed
Make it possible for client code to consume CLANG_LINK_CLANG_DYLIB
If a client code wants to consume clang libraries, it needs to know CLANG_LINK_CLANG_DYLIB value in order to decide whether to use the DYLIB or individual components. Differential Revision: https://reviews.llvm.org/D82291
1 parent c1cd61e commit 05c4794

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/cmake/modules/ClangConfig.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ find_package(LLVM REQUIRED CONFIG
88
set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@")
99
set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
1010
set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
11+
set(CLANG_LINK_CLANG_DYLIB "@CLANG_LINK_CLANG_DYLIB@")
1112

1213
# Provide all our library targets to users.
1314
include("@CLANG_CONFIG_EXPORTS_FILE@")

0 commit comments

Comments
 (0)