Skip to content

Commit

Permalink
Fix build for --no-libb2 option
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kM committed Jun 18, 2024
1 parent c5ed381 commit 2b9bc0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ if(ENABLE_BENCHMARKS)
target_link_directories(${BENCH_NAME} PRIVATE ${LIBB2_LIBRARY_DIRS})
target_include_directories(${BENCH_NAME} PUBLIC ${LIBB2_INCLUDE_DIRS})
target_compile_options(${BENCH_NAME} PUBLIC ${LIBB2_CFLAGS_OTHER})
else()
target_compile_definitions(${BENCH_NAME} PUBLIC NO_LIBB2)
endif(ENABLE_LIBB2_BENCHMARKS)

if(ENABLE_LIBTOMCRYPT_BENCHMARKS)
Expand Down
2 changes: 0 additions & 2 deletions benchmarks/blake.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include "Hacl_Hash_Blake2b_Simd256.h"
#endif

#include "blake2.h"

#define HACL_HASH_BLAKE2B_DIGEST_LENGTH_MAX 64
#define HACL_HASH_BLAKE2S_DIGEST_LENGTH_MAX 32

Expand Down

0 comments on commit 2b9bc0b

Please sign in to comment.