[cmake] Fix -stripped for umbrella library install targets

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.
This commit is contained in:
Shoaib Meenai 2020-03-20 18:42:09 -07:00
parent ced7617c38
commit a299178ae7
2 changed files with 2 additions and 0 deletions

View File

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

View File

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