[clang] 05c4794 - Make it possible for client code to consume CLANG_LINK_CLANG_DYLIB
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 06:23:02 PDT 2020
Author: serge-sans-paille
Date: 2020-06-30T15:13:53+02:00
New Revision: 05c479491c1d3236cae4eccaa3fcd2794598522c
URL: https://github.com/llvm/llvm-project/commit/05c479491c1d3236cae4eccaa3fcd2794598522c
DIFF: https://github.com/llvm/llvm-project/commit/05c479491c1d3236cae4eccaa3fcd2794598522c.diff
LOG: 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
Added:
Modified:
clang/cmake/modules/ClangConfig.cmake.in
Removed:
################################################################################
diff --git a/clang/cmake/modules/ClangConfig.cmake.in b/clang/cmake/modules/ClangConfig.cmake.in
index a5a7eae50328..c5ce56274b19 100644
--- a/clang/cmake/modules/ClangConfig.cmake.in
+++ b/clang/cmake/modules/ClangConfig.cmake.in
@@ -8,6 +8,7 @@ find_package(LLVM REQUIRED CONFIG
set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@")
set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
+set(CLANG_LINK_CLANG_DYLIB "@CLANG_LINK_CLANG_DYLIB@")
# Provide all our library targets to users.
include("@CLANG_CONFIG_EXPORTS_FILE@")
More information about the cfe-commits
mailing list