add cmake tests

This commit is contained in:
Brent Cook
2015-07-21 22:21:14 -05:00
parent 3614acd62e
commit a9122f74e0
4 changed files with 277 additions and 6 deletions

View File

@@ -75,10 +75,5 @@ else()
set(OPENSSL_SRC ${OPENSSL_SRC} strtonum.c)
endif()
set(OPENSSL_LIBS ssl crypto)
if(CMAKE_HOST_WIN32)
set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32)
endif()
add_executable(openssl ${OPENSSL_SRC})
target_link_libraries(openssl ${OPENSSL_LIBS})