diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 398ca01..bd9f2e3 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -1,11 +1,16 @@ project(PasswordManager) add_library(sqlite3 STATIC ../lib/sqlite3.c) +find_package(OpenSSL REQUIRED) +include_directories(${OPENSSL_INCLUDE_DIR}) add_executable(passwordManager main.cpp PasswordManager.cpp) +add_subdirectory(test) target_include_directories(sqlite3 PUBLIC ../lib) target_link_libraries(passwordManager PRIVATE sqlite3) add_subdirectory(test) add_subdirectory(DataBase) + +target_link_libraries(passwordManager ${OPENSSL_LIBRARIES})