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