Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Tools/LoginTest/CMakeLists.txt
T
2026-09-01 12:27:57 +02:00

39 lines
599 B
CMake
Executable File

#
# $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)