aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-25 22:59:59 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-25 22:59:59 +0200
commitc00d3d13b07ed6fa60ac975c2e633e2e5a3cbee3 (patch)
tree2983d9c84d009a388b2bac49a12cddcc4622c890 /CMakeLists.txt
parent80a129dd5fcbaf0e8086a3c57f3ee0667c9ae0fc (diff)
downloadayatana-indicator-session-c00d3d13b07ed6fa60ac975c2e633e2e5a3cbee3.tar.gz
ayatana-indicator-session-c00d3d13b07ed6fa60ac975c2e633e2e5a3cbee3.tar.bz2
ayatana-indicator-session-c00d3d13b07ed6fa60ac975c2e633e2e5a3cbee3.zip
Reintroduce optional url-dispatcher support.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec27033..7861e01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,6 +32,13 @@ pkg_check_modules (SERVICE REQUIRED
gio-unix-2.0>=2.36)
include_directories (${SERVICE_INCLUDE_DIRS})
+set(URL_DISPATCHER_1_REQUIRED_VERSION 1)
+pkg_check_modules(
+ URLDISPATCHER
+ url-dispatcher-1>=${URL_DISPATCHER_1_REQUIRED_VERSION}
+)
+include_directories(${URLDISPATCHER_INCLUDE_DIRS})
+
set (CC_WARNING_ARGS " -Wall -pedantic -Wextra -Wno-missing-field-initializers")
set (ARCHIVE_NAME ${CMAKE_PROJECT_NAME}-${PROJECT_VERSION})