forked from qt-creator/qt-creator
CMake Build: Fix linking PythonPlugin in Debug mode with MinGW
PythonPlugin depends on LanguageClient, which has a private dependency on LanguageServerProtocol. This fixes this error: src/plugins/python/CMakeFiles/Python.dir/pythonrunconfiguration.cpp.obj: In function `int LanguageServerProtocol::JsonObject::typedValue<int>(QString const&) const': src/libs/languageserverprotocol/jsonobject.h:134: undefined reference to `__imp__ZN22LanguageServerProtocol13fromJsonValueIiEET_RK10QJsonValue' Change-Id: I7cacbf68a00ff9ff2a6ab9618bc6ec371247a0aa Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Alessandro Portale
parent
82b6de6db6
commit
4e058a10b4
@@ -1,5 +1,5 @@
|
|||||||
add_qtc_plugin(LanguageClient
|
add_qtc_plugin(LanguageClient
|
||||||
DEPENDS LanguageServerProtocol Qt5::Core
|
PUBLIC_DEPENDS LanguageServerProtocol Qt5::Core
|
||||||
PLUGIN_DEPENDS ProjectExplorer Core TextEditor
|
PLUGIN_DEPENDS ProjectExplorer Core TextEditor
|
||||||
SOURCES
|
SOURCES
|
||||||
client.cpp client.h
|
client.cpp client.h
|
||||||
|
Reference in New Issue
Block a user