summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2013-08-28 00:07:08 +0000
committerTed Kremenek <kremenek@apple.com>2013-08-28 00:07:08 +0000
commit2894000b484a62dc174d6f0773dd918b203c27a1 (patch)
treeda04813ccb2ee7590ab95fcf77303b614f47bfe6 /clang/lib/Headers
parentaf8795d46da9d934aaead385cd2d61842157f05a (diff)
downloadbcm5719-llvm-2894000b484a62dc174d6f0773dd918b203c27a1.tar.gz
bcm5719-llvm-2894000b484a62dc174d6f0773dd918b203c27a1.zip
Revert "Use CMAKE_RUNTIME_OUTPUT_DIRECTORY instead of LLVM_BINARY_DIR for installing Clang headers."
This appears to be breaking the buildbots. llvm-svn: 189426
Diffstat (limited to 'clang/lib/Headers')
-rw-r--r--clang/lib/Headers/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Headers/CMakeLists.txt b/clang/lib/Headers/CMakeLists.txt
index 0570990d664..8be33b7b4a1 100644
--- a/clang/lib/Headers/CMakeLists.txt
+++ b/clang/lib/Headers/CMakeLists.txt
@@ -44,13 +44,13 @@ set(files
module.map
)
-set(output_dir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib/clang/${CLANG_VERSION}/include)
+set(output_dir ${LLVM_BINARY_DIR}/lib/clang/${CLANG_VERSION}/include)
# If we are in an IDE that has a configuration directory, we need to
# create a second copy of the headers so that 'clang' can find them if
# it's run from the build directory.
if(MSVC_IDE OR XCODE)
- set(other_output_dir ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/bin/lib/clang/${CLANG_VERSION}/include)
+ set(other_output_dir ${LLVM_BINARY_DIR}/bin/lib/clang/${CLANG_VERSION}/include)
endif()
# Generate arm_neon.h
@@ -98,8 +98,8 @@ set_target_properties(clang-headers PROPERTIES FOLDER "Misc")
if (other_output_dir)
if(UNIX)
add_custom_command(TARGET clang-headers POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib/${CMAKE_CFG_INTDIR}"
- COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/bin/lib/clang" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib/${CMAKE_CFG_INTDIR}/clang")
+ COMMAND ${CMAKE_COMMAND} -E make_directory "${LLVM_BINARY_DIR}/lib/${CMAKE_CFG_INTDIR}"
+ COMMAND ${CMAKE_COMMAND} -E create_symlink "${LLVM_BINARY_DIR}/bin/lib/clang" "${LLVM_BINARY_DIR}/lib/${CMAKE_CFG_INTDIR}/clang")
endif()
endif ()
OpenPOWER on IntegriCloud