mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-31 18:48:48 -04:00
Add code to detect a system library for zxcvbn, with fallback to the embedded one in case it is not found
This commit is contained in:
parent
079e383319
commit
640b09c6b2
4 changed files with 11 additions and 7 deletions
|
@ -38,7 +38,7 @@ target_link_libraries(keepassxc-cli
|
|||
${GCRYPT_LIBRARIES}
|
||||
${GPGERROR_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
zxcvbn)
|
||||
${ZXCVBN_FOUND})
|
||||
|
||||
install(TARGETS keepassxc-cli
|
||||
BUNDLE DESTINATION . COMPONENT Runtime
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "zxcvbn/zxcvbn.h"
|
||||
#include <zxcvbn.h>
|
||||
|
||||
/* For pre-compiled headers under windows */
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue