diff options
Diffstat (limited to 'src/window-lib/configure.cmake')
-rw-r--r-- | src/window-lib/configure.cmake | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/window-lib/configure.cmake b/src/window-lib/configure.cmake new file mode 100644 index 00000000..76822c57 --- /dev/null +++ b/src/window-lib/configure.cmake @@ -0,0 +1,29 @@ +#### Inputs + +#### Libraries + +find_package(X11) + +#### Tests + +#### Features + +qt_feature("touch-emulation" PRIVATE + LABEL "Touch emulation support on X11" + CONDITION X11_Xi_FOUND AND LINUX + EMIT_IF LINUX +) +qt_feature_definition("touch-emulation" "AM_ENABLE_TOUCH_EMULATION") + +qt_feature("widgets-support" PRIVATE PUBLIC + LABEL "Enable support for Qt widgets" + CONDITION INPUT_widgets_support STREQUAL 'yes' AND TARGET Qt::Widgets +) +qt_feature_definition("widgets-support" "AM_WIDGETS_SUPPORT") + +qt_configure_add_summary_section(NAME "Qt Application Manager [Window module]") +qt_configure_add_summary_entry(ARGS "touch-emulation") +qt_configure_add_summary_entry(ARGS "widgets-support") +qt_configure_end_summary_section() # end of "Qt ApplicationManger" section + +qt_extra_definition("AM_VERSION" "\"${PROJECT_VERSION}\"" PUBLIC) |