diff options
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b377c22..2e19674 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,8 @@ if("${MHTD}" STREQUAL "MHTD-NOTFOUND") message(FATAL_ERROR "libmicrohttpd is required") endif() +find_package(OpenSSL REQUIRED) + #set(CMAKE_VERBOSE_MAKEFILE ON) set(CMAKE_CONFIGURATION_TYPES "RELEASE;STATIC") if("${CMAKE_BUILD_TYPE}" STREQUAL "") @@ -30,6 +32,6 @@ set(EXECUTABLE_OUTPUT_PATH "bin") file(GLOB SOURCES "crypto/*.c" "crypto/*.cpp" "*.cpp") add_executable(xmr-stak-cpu ${SOURCES}) -target_link_libraries(xmr-stak-cpu pthread microhttpd) +target_link_libraries(xmr-stak-cpu pthread microhttpd crypto ssl) |