|
|
@ -247,11 +247,9 @@ if(NOT DEFINED OPENSSL_INCLUDE_DIR) |
|
|
|
message(SEND_ERROR "Could not find OpenSSL. Please download and install it first!") |
|
|
|
message(SEND_ERROR "Could not find OpenSSL. Please download and install it first!") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
find_package ( MiniUPnPc ) |
|
|
|
if (WITH_UPNP) |
|
|
|
if (MINIUPNPC_FOUND) |
|
|
|
find_package ( MiniUPnPc REQUIRED ) |
|
|
|
include_directories( ${MINIUPNPC_INCLUDE_DIR} ) |
|
|
|
include_directories( SYSTEM ${MINIUPNPC_INCLUDE_DIR} ) |
|
|
|
else () |
|
|
|
|
|
|
|
set(WITH_UPNP OFF) |
|
|
|
|
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
find_package ( ZLIB ) |
|
|
|
find_package ( ZLIB ) |
|
|
|