Skip to content

Commit 7c20d6a

Browse files
committed
Fix download of python source using "https" URL
1 parent de9bb50 commit 7c20d6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ get_filename_component(SRC_DIR "${SRC_DIR}" ABSOLUTE)
176176
get_filename_component(_parent_dir ${CMAKE_CURRENT_BINARY_DIR} PATH)
177177
string(REGEX REPLACE "rc[1-9]$" "" _py_version_patch_no_rc ${PY_VERSION_PATCH})
178178
set(_py_version_no_rc "${PY_VERSION_MAJOR}.${PY_VERSION_MINOR}.${_py_version_patch_no_rc}")
179-
set(_download_link "http://www.python.org/ftp/python/${_py_version_no_rc}/Python-${PY_VERSION}.tgz")
179+
set(_download_link "https://www.python.org/ftp/python/${_py_version_no_rc}/Python-${PY_VERSION}.tgz")
180180
# Variable below represent the set of supported python version.
181181
set(_download_2.7.3_md5 "2cf641732ac23b18d139be077bd906cd")
182182
set(_download_2.7.4_md5 "592603cfaf4490a980e93ecb92bde44a")

0 commit comments

Comments
 (0)