[libunwind] r319498 - [libunwind] Switch to add_llvm_install_targets
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 30 15:24:09 PST 2017
Author: smeenai
Date: Thu Nov 30 15:24:08 2017
New Revision: 319498
URL: http://llvm.org/viewvc/llvm-project?rev=319498&view=rev
Log:
[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
Modified:
libunwind/trunk/src/CMakeLists.txt
Modified: libunwind/trunk/src/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/CMakeLists.txt?rev=319498&r1=319497&r2=319498&view=diff
==============================================================================
--- libunwind/trunk/src/CMakeLists.txt (original)
+++ libunwind/trunk/src/CMakeLists.txt Thu Nov 30 15:24:08 2017
@@ -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()
More information about the cfe-commits
mailing list