From aadd04cb721de669ba4bb3e228b386e9e10578c4 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sun, 6 Feb 2011 15:33:08 +0000 Subject: [PATCH] CLANG_BINARY_DIR is not the same thing as LLVM_BINARY_DIR when Clang is built as part of LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124982 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/driver/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt index a8ff21b520..083b8c0d4e 100644 --- a/tools/driver/CMakeLists.txt +++ b/tools/driver/CMakeLists.txt @@ -41,10 +41,10 @@ else() endif() # Create the clang++ symlink in the build directory. -set(clang_pp "${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}") +set(clang_pp "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang++${CMAKE_EXECUTABLE_SUFFIX}") add_custom_target(clang++ ALL ${CMAKE_COMMAND} -E ${CLANGXX_LINK_OR_COPY} - "${CLANG_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}" + "${LLVM_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/clang${CMAKE_EXECUTABLE_SUFFIX}" "${clang_pp}" DEPENDS clang) set_property(DIRECTORY APPEND -- 2.40.0