summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/TableGen.cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-06-07 18:01:16 +0000
committerChris Bieneman <beanz@apple.com>2016-06-07 18:01:16 +0000
commit01fcbaf8e9a83130e0bc372a46ca0e4d37d6d33c (patch)
tree918fe383f1a3a6103190be7de9be78de8ca7d07a /llvm/cmake/modules/TableGen.cmake
parent7b14a62d36cd57e51887247a249940d299fe0be9 (diff)
downloadbcm5719-llvm-01fcbaf8e9a83130e0bc372a46ca0e4d37d6d33c.tar.gz
bcm5719-llvm-01fcbaf8e9a83130e0bc372a46ca0e4d37d6d33c.zip
Use CMAKE_INSTALL_BINDIR instead of hardcoding bin for tools install paths
Summary: This allows customizing the location executables and symlinks get installed to, as with --bindir in autotools. Reviewers: loladiro, beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20934 llvm-svn: 272031
Diffstat (limited to 'llvm/cmake/modules/TableGen.cmake')
-rw-r--r--llvm/cmake/modules/TableGen.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
index fca7d1bda4b..8ae6bf31b13 100644
--- a/llvm/cmake/modules/TableGen.cmake
+++ b/llvm/cmake/modules/TableGen.cmake
@@ -141,7 +141,7 @@ macro(add_tablegen target project)
if (${project} STREQUAL LLVM AND NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
install(TARGETS ${target}
EXPORT LLVMExports
- RUNTIME DESTINATION bin)
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${target})
endmacro()
OpenPOWER on IntegriCloud