[PATCH] D41804: [cmake] Fix typo in LLVM_UTILS_INSTALL_DIR definition.
Don Hinton via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 6 13:02:24 PST 2018
hintonda created this revision.
hintonda added reviewers: tstellar, beanz.
Herald added a subscriber: mgorny.
Fix typo in LLVM_UTILS_INSTALL_DIR definition, and set
default correctly.
https://reviews.llvm.org/D41804
Files:
CMakeLists.txt
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -276,9 +276,9 @@
set(LLVM_TOOLS_INSTALL_DIR "bin" CACHE STRING "Path for binary subdirectory (defaults to 'bin')")
mark_as_advanced(LLVM_TOOLS_INSTALL_DIR)
-set(LLVM_UTILS_INSTALL_DIR "bin" CACHE STRING
+set(LLVM_UTILS_INSTALL_DIR "${LLVM_TOOLS_INSTALL_DIR}" CACHE STRING
"Path to install LLVM utilities (enabled by LLVM_INSTALL_UTILS=ON) (defaults to LLVM_TOOLS_INSTALL_DIR)")
-mark_as_advanced(LLVM_TOOLS_INSTALL_DIR)
+mark_as_advanced(LLVM_UTILS_INSTALL_DIR)
# They are used as destination of target generators.
set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41804.128857.patch
Type: text/x-patch
Size: 743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180106/bb4dc5a5/attachment.bin>
More information about the llvm-commits
mailing list