cmake error if no openssl
Issue #225
resolved
if openssl is not installed (default on docker images), cmake explodes with an error. expected: build midas mhttpd without https support.
Configuring incomplete, errors occurred!
See also "/opt/atlassian/pipelines/agent/build/build/CMakeFiles/CMakeOutput.log".
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/opt/atlassian/pipelines/agent/build/progs/OPENSSL_INCLUDE_DIR
used as include directory in directory /opt/atlassian/pipelines/agent/build/progs
OPENSSL_CRYPTO_LIBRARY (ADVANCED)
linked by target "mhttpd6" in directory /opt/atlassian/pipelines/agent/build/progs
OPENSSL_SSL_LIBRARY (ADVANCED)
linked by target "mhttpd6" in directory /opt/atlassian/pipelines/agent/build/progs
Comments (4)
-
-
reporter branch feature/mbedtls removes openssl from default build. autodetected openssl is replaced by built-if-asked-for mbedtls. K.O.
-
reporter feature/mbedtls merged. openssl is no longer part of the default midas build, https support default is “off” in mhttpd. K.O.
-
reporter - changed status to resolved
commit e7b02f9390986073e2e89bc85e47e18eb91ad1c1. K.O.
- Log in to comment
I changed that and link now only against OPENSSL libraries if OpenSLL has been found (see line
#4):Hope that helps.