diff options
-rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d703861..85ad6ce 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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() |