mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add support for libsecret to cmake
gnucash has historically supported storing passwords for database backends with libsecret when HAVE_LIBSECRET is defined. The code is still present, but support for detecting libsecret's availablity was not ported over when the build system was converted to cmake. This change restores the missing detection.
This commit is contained in:
@@ -505,6 +505,11 @@ find_program(POD2MAN_EXECUTABLE pod2man HINTS ${PERL_DIR})
|
||||
gnc_pkg_check_modules (ICU4C REQUIRED icu-uc)
|
||||
gnc_pkg_check_modules (ICU4C_I18N REQUIRED icu-i18n)
|
||||
|
||||
GNC_PKG_CHECK_MODULES (LIBSECRET libsecret-1>=0.18)
|
||||
IF (LIBSECRET_FOUND)
|
||||
SET (HAVE_LIBSECRET ON)
|
||||
ENDIF (LIBSECRET_FOUND)
|
||||
|
||||
#BOOST
|
||||
set (Boost_USE_MULTITHREADED ON)
|
||||
set (Boost_FIND_QUIETLY ON)
|
||||
|
||||
Reference in New Issue
Block a user