6 FILE(GLOB RESOURCES *.qrc)
8 SOURCE_GROUP("" FILES ${SRCS} ${HDRS} ${RSRC} ${RESOURCES})
12 QT5_ADD_RESOURCES(RESOURCE_ADDED ${RESOURCES})
14 NL_TARGET_LIB(shared_widgets ${SRCS} ${HDRS} ${RSRC} ${RESOURCE_ADDED})
17 SET(SHARED_WIDGETS_QT_LIBRARIES ${QT_LIBRARIES})
19 SET(SHARED_WIDGETS_QT_LIBRARIES Qt5::Widgets)
22 TARGET_LINK_LIBRARIES(shared_widgets nelmisc nel3d ${SHARED_WIDGETS_QT_LIBRARIES})
23 NL_DEFAULT_PROPS(shared_widgets "NeL, Tools, 3D: Shared Widgets")
24 NL_ADD_RUNTIME_FLAGS(shared_widgets)
26 IF((WITH_INSTALL_LIBRARIES AND WITH_STATIC) OR NOT WITH_STATIC)
27 INSTALL(TARGETS shared_widgets LIBRARY DESTINATION ${NL_LIB_PREFIX} ARCHIVE DESTINATION ${NL_LIB_PREFIX} COMPONENT tools3d)