forked from OSchip/llvm-project
[LLVMConfig.cmake.in] Create a new variable LLVM_CONFIG_EXPORTED_TARGETS that contains the list of all targets exported via LLVMExports.cmake.
llvm-svn: 274140
This commit is contained in:
parent
699693b923
commit
1f1ada935c
|
@ -60,6 +60,7 @@ set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
|
|||
set(LLVM_TOOLS_INSTALL_DIR "@LLVM_TOOLS_INSTALL_DIR@")
|
||||
|
||||
if(NOT TARGET LLVMSupport)
|
||||
set(LLVM_CONFIG_EXPORTED_TARGETS "@LLVM_EXPORTS@")
|
||||
include("@LLVM_CONFIG_EXPORTS_FILE@")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue