56 lines
890 B
CMake
Executable File
56 lines
890 B
CMake
Executable File
#
|
|
# $Id$
|
|
# $HeadURL$
|
|
# $Author$
|
|
#
|
|
|
|
#
|
|
# Lts Widgets library
|
|
#
|
|
|
|
# Make ${Qt6_Gui} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Gui)
|
|
set(Qt6_Gui ${Qt6_Gui})
|
|
else()
|
|
set(Qt6_Gui "")
|
|
endif()
|
|
|
|
# Make ${Qt6_Widgets} optional
|
|
if(QT6_GUI_AVAILABLE AND TARGET Qt6::Widgets)
|
|
set(Qt6_Widgets ${Qt6_Widgets})
|
|
else()
|
|
set(Qt6_Widgets "")
|
|
endif()
|
|
|
|
|
|
SET(ltsvkeyboard_SRCS
|
|
LtsKeyPushButton.h
|
|
LtsKeyPushButton.cpp
|
|
LtsVirtualKeyboard.h
|
|
LtsVirtualKeyboard.cpp
|
|
)
|
|
|
|
NGL_WRAP_UI(ltsvkeyboard_SRCS
|
|
)
|
|
|
|
IF(BUILD_RTI)
|
|
NGL_ADD_LIBRARY2(WS LtsVirtualKeyboard SHARED ${ltsvkeyboard_SRCS} )
|
|
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(LtsVirtualKeyboard
|
|
PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../
|
|
)
|
|
|
|
if(QT6_GUI_AVAILABLE)
|
|
NGL_TARGET_LINK_LIBRARIES(LtsVirtualKeyboard
|
|
PRIVATE
|
|
PUBLIC
|
|
LtsWidgets
|
|
LtsSession
|
|
LtsAppManager
|
|
${Qt6_Widgets}
|
|
${Qt6_Gui}
|
|
)
|
|
endif()
|
|
ENDIF(BUILD_RTI)
|