CMake: clang should depend on clang-headers, or bin/clang would not work better.

llvm-svn: 160549
This commit is contained in:
NAKAMURA Takumi 2012-07-20 16:40:09 +00:00
parent 0ab2b0df82
commit e6c562c051
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ target_link_libraries(clang
set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION})
add_dependencies(clang clang-headers)
if(UNIX)
set(CLANGXX_LINK_OR_COPY create_symlink)
# Create a relative symlink