[CMake] Use add_llvm_tool_symlink's OUTPUT_DIR option

This is updating to take r288632 into account.

llvm-svn: 288633
This commit is contained in:
Chris Bieneman 2016-12-05 03:29:10 +00:00
parent 89e08ed0c1
commit c5882a73a0
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ macro(add_lldb_executable name)
BUILD_WITH_INSTALL_RPATH On
INSTALL_RPATH "@loader_path/../../../../${_dots}/${LLDB_FRAMEWORK_INSTALL_DIR}")
add_llvm_tool_symlink(${name} $<TARGET_FILE:${name}> ARG_ALWAYS_GENERATE)
add_llvm_tool_symlink(${name} ${name} ARG_ALWAYS_GENERATE
OUTPUT_DIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
else()
set_target_properties(${name} PROPERTIES
BUILD_WITH_INSTALL_RPATH On