From 53b3b78791c9ce20e274afdc2ab13c80f8317f90 Mon Sep 17 00:00:00 2001 From: lizhihan Date: Mon, 4 Mar 2024 14:25:58 +0800 Subject: [PATCH] Fix sm2_sign building --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8da3a2f5..a8428543c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,6 @@ set(tests sm4 sm3 sm2 - sm2_sign sm2_enc sm9 zuc @@ -320,7 +319,7 @@ if (ENABLE_SM2_Z256) message(STATUS "ENABLE_SM2_Z256 is ON") add_definitions(-DENABLE_SM2_Z256) list(APPEND src src/sm2_z256.c src/sm2_z256_table.c src/sm2_z256_sign.c) - list(APPEND tests sm2_z256) + list(APPEND tests sm2_z256 sm2_sign) else () list(APPEND src src/sm2_sign.c) endif()