Commit df76da3c authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Merge branch 'fix/cmake-ssl' into 'master'

Add option to turn off https support to solve CMake SSL woes

This MR adds a `THIRDPARTY_USE_SSL` option to enable/disable HTTPS support and fix #22, since some versions of CMake (including compute nodes and cx2 at least) are not compiled with SSL support, causing obtuse failures. The default is set to off to allow the greater range of systems to work out of the box.

See merge request !602
parents e6b9d002 73f2ed25
Changelog
=========
v4.3.1
------
**Library**:
- Add `THIRDPARTY_USE_SSL` option to disable use of SSL on systems where CMake
is not compiled with SSL support. (!602)
v4.3.0
------
**Library:**
......
......@@ -154,7 +154,13 @@ ENDIF()
INCLUDE (NektarCommon)
# Set various ThirdParty locations
SET(TPURL https://www.nektar.info/thirdparty)
OPTION(THIRDPARTY_USE_SSL "Use secure HTTP connection to download third-party files." OFF)
IF (THIRDPARTY_USE_SSL)
SET(TPURL https://www.nektar.info/thirdparty)
ELSE()
SET(TPURL http://www.nektar.info/thirdparty)
ENDIF()
SET(TPSRC ${CMAKE_SOURCE_DIR}/ThirdParty)
SET(TPBUILD ${CMAKE_BINARY_DIR}/ThirdParty)
SET(TPDIST ${CMAKE_BINARY_DIR}/ThirdParty/dist)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment