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_sha2.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/hash_sha2.cpp') diff --git a/modules/hash_sha2.cpp b/modules/hash_sha2.cpp index 38baff454..b2c3fd8ff 100644 --- a/modules/hash_sha2.cpp +++ b/modules/hash_sha2.cpp @@ -16,6 +16,10 @@ * along with this program. If not, see . */ +/// BEGIN CMAKE +/// target_link_libraries(${TARGET} PRIVATE "vendored_sha2") +/// END CMAKE + // Fix a collision between the Haiku uint64 typedef and the // one from the sha2 library. @@ -23,7 +27,7 @@ # define uint64 sha2_uint64 #endif -#include +#include #ifdef __HAIKU__ # undef uint64 -- cgit v1.3.1-10-gc9f91