aboutsummaryrefslogtreecommitdiff
path: root/tools/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-16 11:50:37 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-16 11:50:37 +0000
commit3a35a3813d2f94a1275de2a5f66b3bbd8cc2631d (patch)
tree16a0ec5beeedc4a3cbd73fae29c113ea75064035 /tools/CMakeLists.txt
parentf82edaffb1a6d41bc89d86c69f53962e63621aad (diff)
tools/CMakeLists.txt: Fixup r142103. I don't remember why I had missed the line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142136 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r--tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 3c679b82d3..49c73b718f 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -65,7 +65,7 @@ if (NOT ${LLVM_CLANG_SOURCE_DIR} STREQUAL ""
AND EXISTS ${LLVM_CLANG_SOURCE_DIR}/CMakeLists.txt)
option(LLVM_BUILD_CLANG "Whether to build Clang as part of LLVM" ON)
if (${LLVM_BUILD_CLANG})
- add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
+ add_subdirectory(${LLVM_CLANG_SOURCE_DIR} clang)
endif()
endif ()