From 0dc19894f43ae03a7e78dabfb3784695bd0216fd Mon Sep 17 00:00:00 2001
From: Sadie Powell
Date: Sun, 19 Apr 2026 12:54:16 +0100
Subject: Switch the build system to CMake.
---
modules/hash_bcrypt.cpp | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'modules/hash_bcrypt.cpp')
diff --git a/modules/hash_bcrypt.cpp b/modules/hash_bcrypt.cpp
index 349042488..bacca2493 100644
--- a/modules/hash_bcrypt.cpp
+++ b/modules/hash_bcrypt.cpp
@@ -16,11 +16,18 @@
* along with this program. If not, see .
*/
+/// BEGIN CMAKE
+/// target_link_libraries(${TARGET} PRIVATE "vendored_bcrypt")
+/// END CMAKE
+
#include "inspircd.h"
#include "modules/hash.h"
-#include
+extern "C"
+{
+#include
+}
class BCryptContext final
: public Hash::Context
--
cgit v1.3.1-10-gc9f91