Skip to content

Commit

Permalink
use CMAKE_TLS_VERIFY environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jul 31, 2024
1 parent 9fb7549 commit 0625c2a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci

env:
CMAKE_TLS_VERIFY: true
HOMEBREW_NO_INSTALL_CLEANUP: 1
CTEST_NO_TESTS_ACTION: error
CTEST_PARALLEL_LEVEL: 4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build

env:
CMAKE_TLS_VERIFY: true
HOMEBREW_NO_INSTALL_CLEANUP: 1
CTEST_NO_TESTS_ACTION: error
CTEST_PARALLEL_LEVEL: 0
Expand Down
2 changes: 0 additions & 2 deletions options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ option(tidy "Run clang-tidy on the code")
option(matlab "check HDF5 file writes with Matlab")
option(concepts "conceptual testing, for devs only" off)

option(CMAKE_TLS_VERIFY "Verify TLS certificates" on)

option(h5fortran_BUILD_TESTING "build tests" ${h5fortran_IS_TOP_LEVEL})

set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)
Expand Down
1 change: 0 additions & 1 deletion scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ LANGUAGES C Fortran

option(hdf5_parallel "build HDF5 parallel MPI")
option(zlib_legacy "use legacy zlib 1.x")
option(CMAKE_TLS_VERIFY "verify TLS cert" on)

# --- system checks
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
Expand Down

0 comments on commit 0625c2a

Please sign in to comment.