diff options
author | Tom Stellard <tstellar@redhat.com> | 2017-07-05 12:57:30 +0000 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2017-07-05 12:57:30 +0000 |
commit | 1f536a1112f285d7ecbf9fe7274211d330c463c5 (patch) | |
tree | da13ec579a486acf692b2ef9f8ccdebe46b33976 /cmake | |
parent | f1715a330a55daff9d4d53ddebd20d47ac0c07a5 (diff) | |
download | llvm-1f536a1112f285d7ecbf9fe7274211d330c463c5.tar.gz |
CMake: Add LLVM_UTILS_INSTALL_DIR option
Summary:
This is like the LLVM_TOOLS_INSTALL_DIR option, but for the utils
that are installed when the LLVM_INSTALL_UTILS. This option
defaults to 'bin' to remain consistent with the current behavior, but
distros may want to install these to libexec/llvm.
Reviewers: beanz
Reviewed By: beanz
Subscribers: llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D30655
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307150 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index 2b54bdbf290..f4d5f4663f2 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/cmake/modules/AddLLVM.cmake @@ -865,7 +865,7 @@ macro(add_llvm_utility name) set_target_properties(${name} PROPERTIES FOLDER "Utils") if( LLVM_INSTALL_UTILS AND LLVM_BUILD_UTILS ) install (TARGETS ${name} - RUNTIME DESTINATION bin + RUNTIME DESTINATION ${LLVM_UTILS_INSTALL_DIR} COMPONENT ${name}) if (NOT CMAKE_CONFIGURATION_TYPES) add_custom_target(install-${name} |