mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 20:55:20 +03:00
13 lines
591 B
Diff
13 lines
591 B
Diff
--- a/src/plugins/clangformat/CMakeLists.txt
|
|
+++ b/src/plugins/clangformat/CMakeLists.txt
|
|
@@ -1,7 +1,9 @@
|
|
+find_package(LLVM CONFIG)
|
|
+
|
|
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)
|
|
DEPENDS Utils Qt5::Widgets ${CLANG_FORMAT_LIB}
|
|
- INCLUDES "${CLANG_INCLUDE_DIRS}"
|
|
+ INCLUDES ${CLANG_INCLUDE_DIRS} INCLUDES ${LLVM_INCLUDE_DIRS}
|
|
PLUGIN_DEPENDS Core TextEditor CppEditor ProjectExplorer
|
|
SOURCES
|
|
clangformatbaseindenter.cpp clangformatbaseindenter.h
|