aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangformat
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2022-05-24 12:43:57 +0200
committerCristian Adam <cristian.adam@qt.io>2022-05-24 14:57:22 +0000
commitee98c98676d96bbd633a92c976077adc129b82a1 (patch)
treeee6c33dbbda2ca516ffea0f579dc9d4b5ddaa23a /src/plugins/clangformat
parentf117c2a37b30b8a295b2cf04122c0ae1f2c26526 (diff)
CMake: Remove libclang references
Now that libclang is no longer used, make sure that all references to libclang are gone. Change-Id: I4b66eff992b22adb6a9c25d34053f2b36079583c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/clangformat')
-rw-r--r--src/plugins/clangformat/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangformat/CMakeLists.txt b/src/plugins/clangformat/CMakeLists.txt
index f2eff70c58..3c648da592 100644
--- a/src/plugins/clangformat/CMakeLists.txt
+++ b/src/plugins/clangformat/CMakeLists.txt
@@ -1,5 +1,5 @@
add_qtc_plugin(ClangFormat
- CONDITION TARGET libclang AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND (QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB)
+ CONDITION TARGET ${CLANG_FORMAT_LIB} AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND (QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB)
DEPENDS Utils Qt5::Widgets ${CLANG_FORMAT_LIB}
PLUGIN_DEPENDS Core TextEditor CppEditor ProjectExplorer
SOURCES