Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGiovanni Panozzo <giovanni@panozzo.it>2016-03-12 17:47:45 +0300
committerGiovanni Panozzo <giovanni@panozzo.it>2016-03-12 18:20:35 +0300
commit4857524af76a3ed895b7547dd68905079ae621fe (patch)
treef2d5351a8f894a805d9e989f7d83787971d19ae5 /cmake
parent3de80c025e67593acb68578644e99424c0bb16ba (diff)
Don't unlock keyring when libsecret is < 0.18
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLibsecret.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/FindLibsecret.cmake b/cmake/FindLibsecret.cmake
index dc4392874..056b0ad21 100644
--- a/cmake/FindLibsecret.cmake
+++ b/cmake/FindLibsecret.cmake
@@ -50,6 +50,9 @@ if (LIBSECRET_VERSION)
set(VERSION_OK FALSE)
endif ()
endif ()
+ if (${LIBSECRET_VERSION} VERSION_GREATER "0.18.0")
+ add_definitions(-DLIBSECRET_VERSION_0_18)
+ endif()
endif ()
include(FindPackageHandleStandardArgs)