[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:
Michael Gottesman 2016-06-29 17:32:37 +00:00
parent 699693b923
commit 1f1ada935c
1 changed files with 1 additions and 0 deletions

View File

@ -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()