[libunwind] Switch to add_llvm_install_targets
This gains us the install-unwind-stripped target, to perform stripping during installation. Differential Revision: https://reviews.llvm.org/D40685 llvm-svn: 319498
This commit is contained in:
parent
318fbeb972
commit
e0c51f688f
|
@ -139,9 +139,7 @@ if (LIBUNWIND_INSTALL_LIBRARY)
|
|||
endif()
|
||||
|
||||
if (NOT CMAKE_CONFIGURATION_TYPES AND LIBUNWIND_INSTALL_LIBRARY)
|
||||
add_custom_target(install-unwind
|
||||
DEPENDS unwind
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
-DCMAKE_INSTALL_COMPONENT=unwind
|
||||
-P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake")
|
||||
add_llvm_install_targets(install-unwind
|
||||
DEPENDS unwind
|
||||
COMPONENT unwind)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue