aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/CMakeLists.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt
index 5733746..62324a8 100644
--- a/crypto/CMakeLists.txt
+++ b/crypto/CMakeLists.txt
@@ -1028,3 +1028,25 @@ if(ENABLE_LIBRESSL_INSTALL)
1028 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 1028 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
1029 ) 1029 )
1030endif(ENABLE_LIBRESSL_INSTALL) 1030endif(ENABLE_LIBRESSL_INSTALL)
1031
1032# build static library for regression test
1033if(BUILD_SHARED_LIBS)
1034 add_library(crypto-static STATIC $<TARGET_OBJECTS:crypto_obj>)
1035 target_include_directories(crypto-static
1036 PRIVATE
1037 .
1038 asn1
1039 bn
1040 dsa
1041 ec
1042 ecdh
1043 ecdsa
1044 evp
1045 modes
1046 x509
1047 ../include/compat
1048 PUBLIC
1049 ../include)
1050 target_link_libraries(crypto-static ${PLATFORM_LIBS})
1051endif()
1052