add_library(ui MAVLinkDecoder.cc MultiVehicleDockWidget.cc QGCPluginHost.cc # HEADERS # shouldn't be listed here, but aren't named properly for AUTOMOC MAVLinkDecoder.h MultiVehicleDockWidget.h QGCMapRCToParamDialog.h QGCPluginHost.h # UI MultiVehicleDockWidget.ui QGCMapRCToParamDialog.ui QGCPluginHost.ui QMap3D.ui ) target_link_libraries(ui PUBLIC qgc ) target_include_directories(ui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} PRIVATE linechart )