From 91d0693f886ca30a259908094ed4f93b7a4fc8fd Mon Sep 17 00:00:00 2001 From: kacperfis Date: Wed, 7 Feb 2024 21:47:32 +0100 Subject: [PATCH] openSSL integration added openSSL library to the project (for now it uses openSSL installed locally by find_package()) --- source/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 38f7951..15a4b1b 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -1,5 +1,9 @@ project(PasswordManager) +find_package(OpenSSL REQUIRED) +include_directories(${OPENSSL_INCLUDE_DIR}) + add_executable(passwordManager main.cpp PasswordManager.cpp) +add_subdirectory(test) -add_subdirectory(test) \ No newline at end of file +target_link_libraries(passwordManager ${OPENSSL_LIBRARIES})