mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 13:07:38 +03:00
Simplify CMakeLists
This commit is contained in:
parent
c954c95da4
commit
d11bb247b3
1 changed files with 2 additions and 5 deletions
|
@ -364,14 +364,11 @@ include_directories(SYSTEM ${ARGON2_INCLUDE_DIR})
|
||||||
|
|
||||||
# Optional
|
# Optional
|
||||||
if(WITH_XC_KEESHARE)
|
if(WITH_XC_KEESHARE)
|
||||||
# ZLIB is needed and already required
|
set(WITH_XC_KEESHARE_INSECURE ON)
|
||||||
if(WITH_XC_KEESHARE_SECURE)
|
if(WITH_XC_KEESHARE_SECURE)
|
||||||
|
# ZLIB is needed and already required
|
||||||
find_package(QuaZip REQUIRED)
|
find_package(QuaZip REQUIRED)
|
||||||
set(WITH_XC_KEESHARE_INSECURE ON)
|
|
||||||
set(WITH_XC_KEESHARE_SECURE ON)
|
|
||||||
include_directories(SYSTEM ${QUAZIP_INCLUDE_DIR})
|
include_directories(SYSTEM ${QUAZIP_INCLUDE_DIR})
|
||||||
else()
|
|
||||||
set(WITH_XC_KEESHARE_INSECURE ON)
|
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
set(WITH_XC_KEESHARE_INSECURE OFF)
|
set(WITH_XC_KEESHARE_INSECURE OFF)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue