libzip: add optional openssl support
openssl support has been added since version 1.5.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
d1972e13dd
commit
975dedc753
@ -18,4 +18,11 @@ else
|
||||
LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBZIP_DEPENDENCIES += openssl
|
||||
LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON
|
||||
else
|
||||
LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
|
Loading…
Reference in New Issue
Block a user