-if (QCA2-QT5_FOUND)
- add_definitions(-DHAVE_QCA2)
- include_directories(${QCA2-QT5_INCLUDE_DIR})
- list(APPEND SOURCES cipher.cpp)
- list(APPEND LIBS ${QCA2-QT5_LIBRARIES})
+if (Ldap_FOUND)
+ target_sources(${TARGET} PRIVATE ldapauthenticator.cpp)
+ target_link_libraries(${TARGET} PRIVATE Ldap::Ldap)
+ set_property(SOURCE core.cpp APPEND PROPERTY COMPILE_DEFINITIONS HAVE_LDAP)