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:
authorJonathan White <support@dmapps.us>2018-01-27 16:11:59 +0300
committerJanek Bevendorff <janek@jbev.net>2018-02-01 23:40:47 +0300
commitd9119877872101493dbf5ad44d14afcd10afcd26 (patch)
tree2bd019b14de98b5c825b939a54d029f545e015c4 /cmake
parent8218c728a8f9bd6c925f5bb1900234485fe75895 (diff)
Ensure yubikey libs are dynamic; bump to c99
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindYubiKey.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindYubiKey.cmake b/cmake/FindYubiKey.cmake
index e5e0bb681..d2266b407 100644
--- a/cmake/FindYubiKey.cmake
+++ b/cmake/FindYubiKey.cmake
@@ -17,8 +17,8 @@ find_path(YUBIKEY_CORE_INCLUDE_DIR yubikey.h)
find_path(YUBIKEY_PERS_INCLUDE_DIR ykcore.h PATH_SUFFIXES ykpers-1)
set(YUBIKEY_INCLUDE_DIRS ${YUBIKEY_CORE_INCLUDE_DIR} ${YUBIKEY_PERS_INCLUDE_DIR})
-find_library(YUBIKEY_CORE_LIBRARY yubikey)
-find_library(YUBIKEY_PERS_LIBRARY ykpers-1)
+find_library(YUBIKEY_CORE_LIBRARY NAMES yubikey.dll libyubikey.so yubikey)
+find_library(YUBIKEY_PERS_LIBRARY NAMES ykpers-1.dll libykpers-1.so ykpers-1)
set(YUBIKEY_LIBRARIES ${YUBIKEY_CORE_LIBRARY} ${YUBIKEY_PERS_LIBRARY})
include(FindPackageHandleStandardArgs)