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

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-02-15 02:24:28 +0300
committerJanek Bevendorff <janek@jbev.net>2017-02-15 02:24:28 +0300
commit37c731809788a837ee46f0c4e3b9342ec3513ac2 (patch)
treeae5012a86baecba61d6755651889255285b88eed /cmake
parent5a3ed27fedd5668bab0b9ffab7a815d1c112884e (diff)
parentb2702efc9361c507bea5c7e22d574bbf960c0123 (diff)
Merge branch 'develop' into feature/yubikey
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindLibGPGError.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/cmake/FindLibGPGError.cmake b/cmake/FindLibGPGError.cmake
new file mode 100644
index 000000000..fe9ef9123
--- /dev/null
+++ b/cmake/FindLibGPGError.cmake
@@ -0,0 +1,9 @@
+
+find_path(GPGERROR_INCLUDE_DIR gpg-error.h)
+
+find_library(GPGERROR_LIBRARIES gpg-error)
+
+mark_as_advanced(GPGERROR_LIBRARIES GPGERROR_INCLUDE_DIR)
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(LibGPGError DEFAULT_MSG GPGERROR_LIBRARIES GPGERROR_INCLUDE_DIR)