[llvm-commits] [compiler-rt] r162353 - /compiler-rt/trunk/lib/CMakeLists.txt

Alexey Samsonov samsonov at google.com
Wed Aug 22 02:19:32 PDT 2012


Author: samsonov
Date: Wed Aug 22 04:19:32 2012
New Revision: 162353

URL: http://llvm.org/viewvc/llvm-project?rev=162353&view=rev
Log:
[ASan] fix CMake build: make sure that all ASan runtimes are built at correct directory

Modified:
    compiler-rt/trunk/lib/CMakeLists.txt

Modified: compiler-rt/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/CMakeLists.txt?rev=162353&r1=162352&r2=162353&view=diff
==============================================================================
--- compiler-rt/trunk/lib/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/CMakeLists.txt Wed Aug 22 04:19:32 2012
@@ -15,8 +15,8 @@
   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()
 





More information about the llvm-commits mailing list