diff options
author | Alexey Samsonov <samsonov@google.com> | 2012-08-22 09:19:32 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2012-08-22 09:19:32 +0000 |
commit | df1f2eff455d823e0f211fe3607cce7f4f17bef7 (patch) | |
tree | 7074d0ea6d4496e0f7995c7a72aea8d93a0ee4f5 /lib | |
parent | 14c8bd7250742749e44e306c02a56cf47ad1db82 (diff) |
[ASan] fix CMake build: make sure that all ASan runtimes are built at correct directory
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@162353 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c39bb0c05..72ab9b470 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -15,8 +15,8 @@ elseif (UNIX) set(CLANG_RUNTIME_LIB_DIR ${LLVM_BINARY_DIR}/lib/clang/${CLANG_VERSION}/lib/linux) endif() -function(add_clang_runtime_static_library target_names) - set_target_properties(${target_names} PROPERTIES +function(add_clang_runtime_static_library) + set_target_properties(${ARGN} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${CLANG_RUNTIME_LIB_DIR}) endfunction() |