diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-25 22:59:59 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-03-25 22:59:59 +0200 |
commit | c00d3d13b07ed6fa60ac975c2e633e2e5a3cbee3 (patch) | |
tree | 2983d9c84d009a388b2bac49a12cddcc4622c890 /CMakeLists.txt | |
parent | 80a129dd5fcbaf0e8086a3c57f3ee0667c9ae0fc (diff) | |
download | ayatana-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.txt | 7 |
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}) |