浏览代码

Use "https" instead of "http" if CTK_USE_GIT_PROTOCOL is OFF

Fixes https://github.com/commontk/CTK/issues/439
Jean-Christophe Fillion-Robin 7 年之前
父节点
当前提交
9683db7649
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -455,11 +455,11 @@ endif()
 # Other options
 
 # Git protocol option
-option(CTK_USE_GIT_PROTOCOL "If behind a firewall turn this OFF to use http instead." ON)
+option(CTK_USE_GIT_PROTOCOL "If behind a firewall turn this OFF to use https instead." ON)
 mark_as_advanced(CTK_USE_GIT_PROTOCOL)
 set(git_protocol "git")
 if(NOT CTK_USE_GIT_PROTOCOL)
-  set(git_protocol "http")
+  set(git_protocol "https")
 endif()
 
 # Let's mark as advanced some default properties