[llvm-commits] [compiler-rt] r173619 - AddCompilerRT.cmake: Try to unbreak since r173617.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jan 27 06:12:25 PST 2013


Author: chapuni
Date: Sun Jan 27 08:12:25 2013
New Revision: 173619

URL: http://llvm.org/viewvc/llvm-project?rev=173619&view=rev
Log:
AddCompilerRT.cmake: Try to unbreak since r173617.

Modified:
    compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake

Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=173619&r1=173618&r2=173619&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Sun Jan 27 08:12:25 2013
@@ -113,7 +113,7 @@ set(COMPILER_RT_GTEST_INCLUDE_CFLAGS
 #                      LINK_FLAGS <link flags>)
 macro(add_compiler_rt_test test_suite test_name)
   parse_arguments(TEST "OBJECTS;DEPS;LINK_FLAGS" "" ${ARGN})
-  get_unittest_directory(OUTPUT_DIR)
+  set(OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
   file(MAKE_DIRECTORY ${OUTPUT_DIR})
   set(output_bin "${OUTPUT_DIR}/${test_name}")
   add_custom_command(





More information about the llvm-commits mailing list