# # $Id$ # $HeadURL$ # $Author$ # Created by Patric Karwat, SLSE, 2016-10-05 # # Make ${Qt6_Widgets} optional if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets) set(Qt6_Widgets ${Qt6_Widgets}) else() set(Qt6_Widgets "") endif() SET(esm_effect_show_gui_SRCS esm_effect_show_gui_plugin.cpp esm_effect_show_gui_plugin.h esm_effect_show_model.cpp esm_effect_show_model.h esm_effect_show_actor_model.cpp esm_effect_show_actor_model.h esm_effect_show_actor_relocation_model.cpp esm_effect_show_actor_relocation_model.h esm_effect_show_list.cpp esm_effect_show_list.h esm_effect_show_edit.cpp esm_effect_show_edit.h esm_effect_show_actor_relocation_list.cpp esm_effect_show_actor_relocation_list.h esm_effect_show_actor_relocation_edit.cpp esm_effect_show_actor_relocation_edit.h esm_effect_show_actor_list.cpp esm_effect_show_actor_list.h ) NGL_WRAP_UI(esm_effect_show_gui_SRCS esm_effect_show_list.ui esm_effect_show_edit.ui esm_effect_show_actor_relocation_list.ui esm_effect_show_actor_relocation_edit.ui esm_effect_show_actor_list.ui ) NGL_ADD_LIBRARY(WS EsmEffectShowGuiPlugin MODULE ${esm_effect_show_gui_SRCS}) if(QT6_GUI_AVAILABLE) NGL_TARGET_LINK_LIBRARIES(EsmEffectShowGuiPlugin NGLLogger ngltools LtsPrinting LtsSession EsmGuiPluginInterface EsmDataPluginInterface ${Qt6_Widgets} LtsWidgets LtsDataView LtsUtilsGuiDds ltsCoordWidget LtsCoordTrans AesDataPluginInterface PpmDataPluginInterface PdmDataPluginInterface TabDataPluginInterface PpmCommon LtsUtilsSettings ) endif() NGL_INSTALL_TARGET(EsmEffectShowGuiPlugin) ADD_SUBDIRECTORY(EsmComboBox)