CMake build: remove dependency of ClangTools on libclang

Amends 9fc2fda07e

Change-Id: I0bec3d894eae0117a52e6363c1a92cca98cd05b2
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Eike Ziller
2020-06-05 16:58:32 +02:00
parent a2cd1e45df
commit d62acfdefa

View File

@@ -5,8 +5,8 @@ endif()
find_package(yaml-cpp QUIET MODULE) find_package(yaml-cpp QUIET MODULE)
add_qtc_plugin(ClangTools add_qtc_plugin(ClangTools
CONDITION TARGET libclang AND TARGET yaml-cpp CONDITION TARGET yaml-cpp
DEPENDS ClangSupport libclang yaml-cpp DEPENDS ClangSupport yaml-cpp
PLUGIN_DEPENDS Core Debugger CppTools ${TST_COMPONENT} PLUGIN_DEPENDS Core Debugger CppTools ${TST_COMPONENT}
PLUGIN_RECOMMENDS CppEditor PLUGIN_RECOMMENDS CppEditor
INCLUDES ${CLANG_INCLUDE_DIRS} INCLUDES ${CLANG_INCLUDE_DIRS}