From c1775e9ece5e505218f39ffc6c8962446a891734 Mon Sep 17 00:00:00 2001 From: Martchus Date: Wed, 27 Jul 2016 21:40:11 +0200 Subject: [PATCH] Generate config header in extra module --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d884249..96fba3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,10 +23,11 @@ set(DOC_FILES # meta data set(META_PROJECT_NAME dbus-soundrecorder) +set(META_PROJECT_TYPE application) set(META_APP_NAME "D-Bus Sound Recorder") set(META_APP_AUTHOR "Martchus") set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") -set(META_APP_DESCRIPTION "Records sound from Pulse Audio with ffmpeg while watching D-Bus to determine tracks and meta information.") +set(META_APP_DESCRIPTION "Records sound from Pulse Audio with ffmpeg while watching D-Bus to determine tracks and meta information") set(META_VERSION_MAJOR 1) set(META_VERSION_MINOR 2) set(META_VERSION_PATCH 2) @@ -36,7 +37,7 @@ find_package(c++utilities 4.0.0 REQUIRED) use_cpp_utilities() # find qtutilities -find_package(qtutilities 4.0.0 REQUIRED) +find_package(qtutilities 5.0.0 REQUIRED) list(APPEND CMAKE_MODULE_PATH ${QT_UTILITIES_MODULE_DIRS}) # include modules to apply configuration @@ -45,3 +46,4 @@ include(QtConfig) include(WindowsResources) include(AppTarget) include(ShellCompletion) +include(ConfigHeader)