1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 06:16:38 +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
+8 -2
View File
@@ -6,8 +6,14 @@
* Please read COPYING and README for further details.
*/
/* RequiredLibraries: pcre2-8 */
/* RequiredWindowsLibraries: pcre2-8 */
/// BEGIN CMAKE
/// if(WIN32)
/// target_link_libraries(${SO} PRIVATE CONAN_PKG::pcre2)
/// else()
/// pkg_check_modules("PCRE2" IMPORTED_TARGET REQUIRED "libpcre2-8")
/// target_link_libraries(${SO} PRIVATE PkgConfig::PCRE2)
/// endif()
/// END CMAKE
#include "module.h"