summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-01-07 14:19:15 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-01-07 14:19:15 +0000
commit98f5ce6a353e19bbb4cee2d13d2aa379b6ba2eee (patch)
tree6aa5a5deb8249b8ed6c13d7657634c231c120cdd
parent18a7c886c0d2c1ff5fed0abdace244e43758ecc6 (diff)
Manually specify the folder that llvm-ranlib should reside in for CMake-produced solutions that care about such things (like MSVC). This takes llvm-ranlib out of the root solution folder and places it into the Tools folder where it belongs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225353 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/llvm-ar/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-ar/CMakeLists.txt b/tools/llvm-ar/CMakeLists.txt
index da1789e2e96..3782c87e4d3 100644
--- a/tools/llvm-ar/CMakeLists.txt
+++ b/tools/llvm-ar/CMakeLists.txt
@@ -24,4 +24,6 @@ add_custom_command(OUTPUT ${llvm_ranlib}
DEPENDS llvm-ar)
add_custom_target(llvm-ranlib ALL DEPENDS ${llvm_ranlib})
+set_target_properties(llvm-ranlib PROPERTIES FOLDER Tools)
+
install(SCRIPT install_symlink.cmake -DCMAKE_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\")