aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2013-01-27 14:12:25 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2013-01-27 14:12:25 +0000
commit1db6274ece7105cb6048783c12b74d26301089c1 (patch)
tree089713d479c8be4f5dbd8cbf84777cf365b23686 /cmake
parent7ce46daf86200776204e6ba3ae4fef4ff71808c4 (diff)
downloadcompiler-rt-1db6274ece7105cb6048783c12b74d26301089c1.tar.gz
AddCompilerRT.cmake: Try to unbreak since r173617.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/AddCompilerRT.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/AddCompilerRT.cmake b/cmake/Modules/AddCompilerRT.cmake
index 6c83661b6..dbc38c55a 100644
--- a/cmake/Modules/AddCompilerRT.cmake
+++ b/cmake/Modules/AddCompilerRT.cmake
@@ -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(