[llvm] b1da8eb - [runtimes] Fix installation for LLVM_RUNTIME_DISTRIBUTION_COMPONENTS
    Shoaib Meenai via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jan 27 17:00:50 PST 2020
    
    
  
Author: Shoaib Meenai
Date: 2020-01-27T17:00:18-08:00
New Revision: b1da8eba60f604f559d59c38d5fd130e477239a3
URL: https://github.com/llvm/llvm-project/commit/b1da8eba60f604f559d59c38d5fd130e477239a3
DIFF: https://github.com/llvm/llvm-project/commit/b1da8eba60f604f559d59c38d5fd130e477239a3.diff
LOG: [runtimes] Fix installation for LLVM_RUNTIME_DISTRIBUTION_COMPONENTS
The installation target we create should trigger the corresponding
installation target in the runtimes external project.
Differential Revision: https://reviews.llvm.org/D73251
Added: 
    
Modified: 
    llvm/runtimes/CMakeLists.txt
Removed: 
    
################################################################################
diff  --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index e98c61c0ee69..f010b76a81d6 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -430,7 +430,7 @@ else() # if this is included from LLVM's CMake
 
     foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
       set(${component}-${name} ${component})
-      set(install-${component}-${name} ${component})
+      set(install-${component}-${name} install-${component})
       list(APPEND ${name}_extra_targets ${component}-${name} install-${component}-${name})
     endforeach()
 
        
    
    
More information about the llvm-commits
mailing list