cmake: unbundled + use_static_libs = no ldap

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
This commit is contained in:
Konstantin Podshumok 2020-08-15 02:39:16 +03:00
parent 18fd3e7357
commit 139ba52944
No known key found for this signature in database
GPG Key ID: 7EA5D4784D5BB847

View File

@ -1,3 +1,7 @@
if (UNBUNDLED AND USE_STATIC_LIBRARIES)
set (ENABLE_LDAP OFF CACHE INTERNAL "")
endif()
option (ENABLE_LDAP "Enable LDAP" ${ENABLE_LIBRARIES})
if (NOT ENABLE_LDAP)