# # $Id$ # $HeadURL$ # $Author$ # Created by Mike Wille, SLSE, 2016-03-03 # # Make ${Qt6_Widgets} optional if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets) set(Qt6_Widgets ${Qt6_Widgets}) else() set(Qt6_Widgets "") endif() SET(lt_SRCS login_window.cpp login_window.h login_window.ui ) QT5_WRAP_UI(lt_SRCS login_window.ui) NGL_ADD_EXECUTABLE(WS LtsLoginTest ${lt_SRCS} main.cpp) if(QT6_GUI_AVAILABLE) NGL_TARGET_LINK_LIBRARIES(LtsLoginTest ${Qt6_Widgets} nglapplication nglwidgets LtsWidgets NGLLogger nglsettings ) endif() NGL_INSTALL_TARGET(LtsLoginTest)