Skip to content

Commit

Permalink
[cmake] Fix -stripped for umbrella library install targets
Browse files Browse the repository at this point in the history
Make the install-llvm-libraries-stripped and install-clang-libraries-stripped
targets depend on the individual library stripped install targets, so
that they actually install the libraries.
  • Loading branch information
smeenai committed Mar 21, 2020
1 parent ced7617 commit a299178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions clang/CMakeLists.txt
Expand Up @@ -588,6 +588,7 @@ if(CLANG_LIBS)
add_dependencies(clang-libraries ${lib})
if(NOT LLVM_ENABLE_IDE)
add_dependencies(install-clang-libraries install-${lib})
add_dependencies(install-clang-libraries-stripped install-${lib}-stripped)
endif()
endforeach()
endif()
Expand Down
1 change: 1 addition & 0 deletions llvm/CMakeLists.txt
Expand Up @@ -1072,6 +1072,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
add_dependencies(llvm-libraries ${lib})
if (NOT LLVM_ENABLE_IDE)
add_dependencies(install-llvm-libraries install-${lib})
add_dependencies(install-llvm-libraries-stripped install-${lib}-stripped)
endif()
endforeach()
endif()
Expand Down

0 comments on commit a299178

Please sign in to comment.