message: cmake: support CLANG_LINK_CLANG_DYLIB
diff: @@ -70,6 +70,9 @@ endif()
  find_package(Clang REQUIRED)
  +if(CLANG_LINK_CLANG_DYLIB)
  + target_link_libraries(ccls PRIVATE clang-cpp)
  +else()
  target_link_libraries(ccls PRIVATE
  clangIndex
  clangFormat
  @@ -85,6 +88,7 @@ target_link_libraries(ccls PRIVATE
  clangDriver
  clangBasic
  )
  +endif()
  if(LLVM_LINK_LLVM_DYLIB)
  target_link_libraries(ccls PRIVATE LLVM)
  