mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
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:
parent
6810ae46d6
commit
6f25e09132
3 changed files with 62 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue