[cfe-commits] r124982 - /cfe/trunk/tools/driver/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Sun Feb 6 07:33:08 PST 2011
Author: ofv
Date: Sun Feb 6 09:33:08 2011
New Revision: 124982
URL: http://llvm.org/viewvc/llvm-project?rev=124982&view=rev
Log:
CLANG_BINARY_DIR is not the same thing as LLVM_BINARY_DIR when Clang
is built as part of LLVM.
Modified:
cfe/trunk/tools/driver/CMakeLists.txt
Modified: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=124982&r1=124981&r2=124982&view=diff
==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (original)
+++ cfe/trunk/tools/driver/CMakeLists.txt Sun Feb 6 09:33:08 2011
@@ -41,10 +41,10 @@
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
More information about the cfe-commits
mailing list