We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f6b49d + 87d1d3a commit 15c8b53Copy full SHA for 15c8b53
CMakeLists.txt
@@ -123,11 +123,10 @@ endif()
123
find_package(Git)
124
125
if(NOT GIT_PROTOCOL)
126
- message("[INFO] Select Either git:// or http:// for checking out git submodules.
127
- If you are behind a firewall then likely you need to choose http:// instead.")
128
set(GIT_PROTOCOL "git://" CACHE STRING "Choose protocol to be used by git" FORCE)
129
set_property(CACHE GIT_PROTOCOL PROPERTY STRINGS "git://" "http://")
130
- return()
+ message(FATAL_ERROR "[ERROR] Select either git:// or http:// for checking out git submodules.
+ If you are behind a firewall then likely you need to choose http:// instead.")
131
endif()
132
133
if(GIT_PROTOCOL MATCHES "http://")
0 commit comments