File tree 3 files changed +0
-114
lines changed
3 files changed +0
-114
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ if(MSVC)
74
74
# This option must match the settings used in your program, in particular if you
75
75
# are linking statically
76
76
option (STATIC_CRT "Link the static CRT libraries" ON )
77
-
78
- # If you want to embed a copy of libssh2 into libgit2, pass a
79
- # path to libssh2
80
- option (EMBED_SSH_PATH "Path to libssh2 to embed (Windows)" OFF )
81
77
endif ()
82
78
83
79
if (NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE )
Original file line number Diff line number Diff line change @@ -27,15 +27,6 @@ elseif(USE_SSH STREQUAL ON OR USE_SSH STREQUAL "libssh2")
27
27
set (GIT_SSH_LIBSSH2_MEMORY_CREDENTIALS 1)
28
28
endif ()
29
29
30
- if (WIN32 AND EMBED_SSH_PATH)
31
- file (GLOB SSH_SRC "${EMBED_SSH_PATH} /src/*.c" )
32
- list (SORT SSH_SRC)
33
- list (APPEND LIBGIT2_DEPENDENCY_OBJECTS ${SSH_SRC} )
34
-
35
- list (APPEND LIBGIT2_DEPENDENCY_INCLUDES "${EMBED_SSH_PATH} /include" )
36
- file (WRITE "${EMBED_SSH_PATH} /src/libssh2_config.h" "#define HAVE_WINCNG\n #define LIBSSH2_WINCNG\n #include \" ../win32/libssh2_config.h\" " )
37
- endif ()
38
-
39
30
set (GIT_SSH 1)
40
31
set (GIT_SSH_LIBSSH2 1)
41
32
add_feature_info(SSH ON "using libssh2" )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments