Skip to content

Commit 9005f03

Browse files
committed
Create a new variable LLVM_CONFIG_EXPORTED_TARGETS that contains the list of all targets exported via LLVMExports.cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274140 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 8682068)
1 parent 2ff396f commit 9005f03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/modules/LLVMConfig.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ set(LLVM_CMAKE_DIR "@LLVM_CONFIG_CMAKE_DIR@")
5656
set(LLVM_TOOLS_BINARY_DIR "@LLVM_CONFIG_TOOLS_BINARY_DIR@")
5757

5858
if(NOT TARGET LLVMSupport)
59+
set(LLVM_CONFIG_EXPORTED_TARGETS "@LLVM_EXPORTS@")
5960
include("@LLVM_CONFIG_EXPORTS_FILE@")
6061
endif()
6162

0 commit comments

Comments
 (0)