forked from qt-creator/qt-creator
Fix compilation of ClangFormat plugin against LLVM with clang-cpp
The ClangFormat plugin needs to link against clang-cpp in that case as well. Fixes: QTCREATORBUG-25138 Change-Id: I84b1784b291d8944a9dee66ec14db32ad72ff8b5 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
add_qtc_plugin(ClangFormat
|
||||
CONDITION TARGET libclang AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND QTC_CLANG_BUILDMODE_MATCH
|
||||
DEPENDS Utils Qt5::Widgets clangFormat
|
||||
DEPENDS Utils Qt5::Widgets ${CLANG_FORMAT_LIB}
|
||||
INCLUDES "${CLANG_INCLUDE_DIRS}"
|
||||
PLUGIN_DEPENDS Core TextEditor CppEditor CppTools ProjectExplorer
|
||||
SOURCES
|
||||
|
||||
Reference in New Issue
Block a user