mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
Include OpenSSL in CMake
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user