Deploy openssl libraries under win32

They are needed to fetch prices from deckbrew and possibly, in the
future, for ssl server connections
This commit is contained in:
Fabio Bas 2014-10-10 14:12:30 +02:00
parent 6810ae46d6
commit 6f25e09132
3 changed files with 62 additions and 1 deletions

View file

@ -158,6 +158,11 @@ set(CMAKE_AUTOMOC TRUE)
# Find other needed libraries
FIND_PACKAGE(Protobuf REQUIRED)
#Find OpenSSL
IF(WIN32)
FIND_PACKAGE(Win32SslRuntime)
ENDIF()
# Package builder
set(CPACK_PACKAGE_CONTACT "Daenyth+github@gmail.com")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${PROJECT_NAME})
@ -198,7 +203,7 @@ endif()
include(CPack)
# Compile servatrice (default off)
option(WITH_SERVER "build servatrice" OFF)
option(WITH_SERVER "build servatrice" ON)
add_subdirectory(common)
if(WITH_SERVER)
add_subdirectory(servatrice)