# # Tool shows a widget on each screen, stating the screen id of the screen the widget is positioned on # # $Id: CMakeLists.txt 38619 2018-02-02 15:14:02Z wille_m $ # $HeadURL: svn://slssvn/TDS/branches/product/devel/trunk/Lts/Tools/ConfigX/CMakeLists.txt $ # $Author: wille_m $ # # Created by Mike Wille, NLE, 2018-11-11 # # Make ${Qt6_Widgets} optional if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets) set(Qt6_Widgets ${Qt6_Widgets}) else() set(Qt6_Widgets "") endif() IF(NOT WIN32) SET(ScreenIdShow_SRCS main.cpp ) NGL_ADD_EXECUTABLE(WS ScreenIdShow NO_TRANSLATION ${ScreenIdShow_SRCS}) if(QT6_GUI_AVAILABLE) NGL_TARGET_LINK_LIBRARIES(ScreenIdShow ${Qt6_Widgets} ) endif() NGL_INSTALL_TARGET(ScreenIdShow) ENDIF(NOT WIN32)