<div dir="ltr">
<div>While trying to compile llvm/clang on Windows, the following CMake error
occurred. The reason is a missing PUBLIC/PRIVATE/INTERFACE keyword in
target_link_libraries. A fix for it is attached.</div><div><br></div><div>CMake Error at utils/KillTheDoctor/CMakeLists.txt:5 (target_link_libraries):<br> The keyword signature for target_link_libraries has already been used with<br> the target "KillTheDoctor". All uses of target_link_libraries with a<br> target must be either all-keyword or all-plain.<br><br> The uses of the keyword signature are here:<br><br> * cmake/modules/AddLLVM.cmake:771 (target_link_libraries)</div>
</div>