diff options
| author | 2026-04-19 12:54:16 +0100 | |
|---|---|---|
| committer | 2026-04-27 17:26:08 +0100 | |
| commit | 0dc19894f43ae03a7e78dabfb3784695bd0216fd (patch) | |
| tree | ad44bd4f6ce3e01b046905f00bace5352c366d87 /modules/hash_sha2.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Switch the build system to CMake.
Diffstat (limited to 'modules/hash_sha2.cpp')
| -rw-r--r-- | modules/hash_sha2.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. */ +/// 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 <sha2/sha2.c> +#include <sha2/sha2.h> #ifdef __HAIKU__ # undef uint64 |
