Fixed cmake file

This commit is contained in:
WolverinDEV 2019-07-04 17:51:50 +02:00
parent 02889c87a0
commit 542ffdc62c
1 changed files with 4 additions and 4 deletions

View File

@ -43,11 +43,11 @@ option(BUILD_TESTS "Build test" ON)
if (BUILD_TESTS)
add_executable(ed25519_test test.c)
target_link_libraries(ed25519_test ed25519)
endif ()
if(USE_OPENSSL)
target_link_libraries(ed25519_test crypto)
endif()
if(USE_OPENSSL)
target_link_libraries(ed25519_test crypto)
endif()
endif ()
INSTALL(DIRECTORY include/ DESTINATION include/ed25519)
INSTALL(TARGETS ed25519