1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 18:46:39 +02:00

Replace calculate_libraries with inline CMake code.

This commit is contained in:
Sadie Powell
2025-10-05 16:03:59 +01:00
parent 0b3e55ed8f
commit 1a5d49b7f6
14 changed files with 89 additions and 139 deletions
+6 -1
View File
@@ -9,7 +9,12 @@
* Based on the original code of Services by Andy Church.
*/
/* RequiredLibraries: ldap_r|ldap,lber */
/// BEGIN CMAKE
/// if(NOT WIN32)
/// pkg_check_modules("OPENLDAP" IMPORTED_TARGET REQUIRED "lber" "ldap")
/// target_link_libraries(${SO} PRIVATE PkgConfig::OPENLDAP)
/// endif()
/// END CMAKE
#include "module.h"
#include "modules/ldap.h"