mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 17:27:43 -05:00
Change from ZXCVBN_FOUND to ZXCVBN_LIBRARIES to be aligned with other libraries
This commit is contained in:
parent
640b09c6b2
commit
34ff6d5f6b
@ -27,12 +27,12 @@ if (NOT GIT_HEAD OR NOT GIT_DESCRIBE)
|
||||
set(GIT_DESCRIBE "")
|
||||
endif()
|
||||
|
||||
find_library(ZXCVBN_FOUND zxcvbn)
|
||||
if(NOT ZXCVBN_FOUND)
|
||||
find_library(ZXCVBN_LIBRARIES zxcvbn)
|
||||
if(NOT ZXCVBN_LIBRARIES)
|
||||
add_library(zxcvbn STATIC zxcvbn/zxcvbn.cpp)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/zxcvbn)
|
||||
set(ZXCVBN_FOUND zxcvbn)
|
||||
endif(NOT ZXCVBN_FOUND)
|
||||
set(ZXCVBN_LIBRARIES zxcvbn)
|
||||
endif(NOT ZXCVBN_LIBRARIES)
|
||||
|
||||
configure_file(version.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY)
|
||||
|
||||
@ -222,7 +222,7 @@ target_link_libraries(keepassx_core
|
||||
${keepasshttp_LIB}
|
||||
${autotype_LIB}
|
||||
${YUBIKEY_LIBRARIES}
|
||||
${ZXCVBN_FOUND}
|
||||
${ZXCVBN_LIBRARIES}
|
||||
Qt5::Core
|
||||
Qt5::Network
|
||||
Qt5::Concurrent
|
||||
|
@ -38,7 +38,7 @@ target_link_libraries(keepassxc-cli
|
||||
${GCRYPT_LIBRARIES}
|
||||
${GPGERROR_LIBRARIES}
|
||||
${ZLIB_LIBRARIES}
|
||||
${ZXCVBN_FOUND})
|
||||
${ZXCVBN_LIBRARIES})
|
||||
|
||||
install(TARGETS keepassxc-cli
|
||||
BUNDLE DESTINATION . COMPONENT Runtime
|
||||
|
Loading…
Reference in New Issue
Block a user