Update soft_sdf

This commit is contained in:
Zhi Guan
2024-01-31 21:10:30 +08:00
parent 31efcb5d87
commit 2c893d797b
4 changed files with 15 additions and 6 deletions

View File

@@ -440,6 +440,7 @@ install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/gmssl DESTINATION include)
option(ENABLE_SOFT_SDF "Enable Software SDF Implementation" OFF)
if (ENABLE_SOFT_SDF)
message(STATUS "ENABLE_SOFT_SDF is ON")
list(APPEND tests soft_sdf)
add_library(soft_sdf SHARED src/sdf/soft_sdf.c)
target_link_libraries(soft_sdf PRIVATE gmssl)
set_target_properties(soft_sdf PROPERTIES VERSION 3.1 SOVERSION 3)