From 542ffdc62c3efd2f659a1c14f3a15fe54c83e643 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Thu, 4 Jul 2019 17:51:50 +0200 Subject: [PATCH] Fixed cmake file --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d52ebb6..bcc00f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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