diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6d867097fc..6d85424aa4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -54,8 +54,6 @@ add_library(oqs kem/kem.c ${SIG_OBJS} ${COMMON_OBJS}) set(COMMON_OBJS ${COMMON_OBJS} PARENT_SCOPE) -set(_ALL_OBJS ${KEM_OBJS} ${SIG_OBJS} ${COMMON_OBJS} $) -set(ALL_OBJS ${_ALL_OBJS} PARENT_SCOPE) if(DEFINED SANITIZER_LD_FLAGS) target_link_libraries(oqs PUBLIC ${SANITIZER_LD_FLAGS}) endif() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 05fb20a074..4823437574 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -70,9 +70,8 @@ endif() 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 ${ALL_OBJS}) -target_link_libraries(kat_kem PRIVATE ${API_TEST_DEPS} ${INTERNAL_TEST_DEPS}) +add_executable(kat_kem kat_kem.c) +target_link_libraries(kat_kem PRIVATE ${API_TEST_DEPS}) add_executable(test_kem test_kem.c) target_link_libraries(test_kem PRIVATE ${API_TEST_DEPS})