1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 18:46: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
@@ -8,8 +8,14 @@
*
*/
/* RequiredLibraries: argon2 */
/* RequiredWindowsLibraries: argon2 */
/// BEGIN CMAKE
/// if(WIN32)
/// target_link_libraries(${SO} PRIVATE CONAN_PKG::argon2)
/// else()
/// pkg_check_modules("ARGON2" IMPORTED_TARGET REQUIRED "libargon2")
/// target_link_libraries(${SO} PRIVATE PkgConfig::ARGON2)
/// endif()
/// END CMAKE
#include <climits>
#include <random>