39 lines
670 B
CMake
Executable File
39 lines
670 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
# Created by Mike Wille, SLSE, 2016-01-13
|
|
#
|
|
|
|
|
|
# Make ${Qt6_Widgets} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
|
|
set(Qt6_Widgets ${Qt6_Widgets})
|
|
else()
|
|
set(Qt6_Widgets "")
|
|
endif()
|
|
|
|
|
|
SET(LtsNoti_SRCS
|
|
lts_notification.h
|
|
lts_notification.cpp
|
|
lts_notification_ctl.h
|
|
lts_notification_ctl.cpp
|
|
)
|
|
|
|
NGL_ADD_LIBRARY2(WS LtsNotification SHARED ${LtsNoti_SRCS})
|
|
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(LtsNotification
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
${CMAKE_CURRENT_BINARY_DIR}/../
|
|
)
|
|
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(LtsNotification
|
|
${Qt6_Widgets}
|
|
)
|
|
endif()
|
|
|
|
NGL_INSTALL_TARGET(LtsNotification)
|