Skip to content

Commit

Permalink
fixup! Fix SHA3 link error
Browse files Browse the repository at this point in the history
  • Loading branch information
SWilson4 committed Nov 1, 2023
1 parent a81676f commit 9a79285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ set(API_TEST_DEPS oqs ${LIBM})
add_executable(example_kem example_kem.c)
target_link_libraries(example_kem PRIVATE ${API_TEST_DEPS})

# KAT KEM needs to call the internal SHA3 functions directly, hence the extra dependencies
add_executable(kat_kem kat_kem.c ${COMMON_OBJS})
target_link_libraries(kat_kem PRIVATE ${API_TEST_DEPS})
target_link_libraries(kat_kem PRIVATE ${API_TEST_DEPS} ${INTERNAL_TEST_DEPS})

add_executable(test_kem test_kem.c)
if((CMAKE_C_COMPILER_ID MATCHES "Clang") OR (CMAKE_C_COMPILER_ID STREQUAL "GNU"))
Expand Down

0 comments on commit 9a79285

Please sign in to comment.