diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index f862e21..111813c 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -3,5 +3,7 @@ add_executable(Examples ) target_link_libraries(Examples - NativeSmtpClient + $ + ${CMAKE_THREAD_LIBS_INIT} + OpenSSL::SSL ) diff --git a/examples/src/main.cpp b/examples/src/main.cpp index 2c9374e..60f6f2f 100644 --- a/examples/src/main.cpp +++ b/examples/src/main.cpp @@ -1,4 +1,4 @@ -#include +#include "SmtpClient.h" #include #include