From a0b06da5f84dfdd2d83c6d8ffe174b9d45507d8b Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Mon, 8 Jan 2024 14:11:59 -0500 Subject: [PATCH] Remove ALL_OBJS variable --- src/CMakeLists.txt | 2 -- tests/CMakeLists.txt | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) 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})