Index: cfe/trunk/cmake/modules/AddClang.cmake =================================================================== --- cfe/trunk/cmake/modules/AddClang.cmake +++ cfe/trunk/cmake/modules/AddClang.cmake @@ -131,6 +131,7 @@ endif() add_clang_executable(${name} ${ARGN}) + add_dependencies(${name} clang-headers) if (CLANG_BUILD_TOOLS) if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR