# # $Id$ # $HeadURL$ # $Author$ # Created by Mike Wille, NLS, 2019-01-21 # # Make ${Qt6_Widgets} optional if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets) set(Qt6_Widgets ${Qt6_Widgets}) else() set(Qt6_Widgets "") endif() SET(bat_gui_SRCS bat_gui_plugin.cpp bat_gui_plugin.h ) NGL_ADD_LIBRARY(WS BatGuiPlugin MODULE ${bat_gui_SRCS}) if(QT6_GUI_AVAILABLE) NGL_TARGET_LINK_LIBRARIES(BatGuiPlugin LtsSession BatGuiPluginInterface ${Qt6_Widgets} LtsNotification ) endif() IF(WIN32) NGL_TARGET_LINK_LIBRARIES(BatGuiPlugin WLanApi.lib ) ENDIF() NGL_INSTALL_TARGET(BatGuiPlugin)