[llvm] e4dfa13 - [llvm] Export LLVM_LIT_ARGS in LLVMConfig.cmake
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 29 20:27:13 PDT 2020
Author: Jonas Devlieghere
Date: 2020-10-29T20:27:05-07:00
New Revision: e4dfa1307b9b935a71d3f54f4c85761cbdd325f5
URL: https://github.com/llvm/llvm-project/commit/e4dfa1307b9b935a71d3f54f4c85761cbdd325f5
DIFF: https://github.com/llvm/llvm-project/commit/e4dfa1307b9b935a71d3f54f4c85761cbdd325f5.diff
LOG: [llvm] Export LLVM_LIT_ARGS in LLVMConfig.cmake
Allow standalone builds to inherit the LLVM_LIT_ARGS.
Added:
Modified:
llvm/cmake/modules/LLVMConfig.cmake.in
Removed:
################################################################################
diff --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index 4ead4f4198ff..ac053141b008 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -104,11 +104,13 @@ set(LLVM_CMAKE_DIR "@LLVM_CONFIG_CMAKE_DIR@")
set(LLVM_BINARY_DIR "@LLVM_CONFIG_BINARY_DIR@")
set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
set(LLVM_TOOLS_INSTALL_DIR "@LLVM_TOOLS_INSTALL_DIR@")
-set(LLVM_DEFAULT_EXTERNAL_LIT "@LLVM_CONFIG_DEFAULT_EXTERNAL_LIT@")
set(LLVM_HAVE_OPT_VIEWER_MODULES @LLVM_HAVE_OPT_VIEWER_MODULES@)
set(LLVM_CONFIGURATION_TYPES @CMAKE_CONFIGURATION_TYPES@)
set(LLVM_ENABLE_SHARED_LIBS @BUILD_SHARED_LIBS@)
+set(LLVM_DEFAULT_EXTERNAL_LIT "@LLVM_CONFIG_DEFAULT_EXTERNAL_LIT@")
+set(LLVM_LIT_ARGS "@LLVM_LIT_ARGS@")
+
if(NOT TARGET LLVMSupport)
set(LLVM_EXPORTED_TARGETS "@LLVM_CONFIG_EXPORTS@")
include("@LLVM_CONFIG_EXPORTS_FILE@")
More information about the llvm-commits
mailing list