Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
73291aff
Commit
73291aff
authored
Nov 05, 2013
by
Vicent Marti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Add `USE_SSH` option
parent
a8baf4b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
CMakeLists.txt
+3
-1
No files found.
CMakeLists.txt
View file @
73291aff
...
...
@@ -32,6 +32,8 @@ OPTION( LIBGIT2_FILENAME "Name of the produced binary" OFF )
OPTION
(
ANDROID
"Build for android NDK"
OFF
)
OPTION
(
USE_ICONV
"Link with and use iconv library"
OFF
)
OPTION
(
USE_SSH
"Link with libssh to enable SSH support"
ON
)
IF
(
APPLE
)
SET
(
USE_ICONV ON
)
ENDIF
()
...
...
@@ -186,7 +188,7 @@ ELSE()
FILE
(
GLOB SRC_ZLIB deps/zlib/*.c deps/zlib/*.h
)
ENDIF
()
IF
(
NOT MINGW
)
IF
(
USE_SSH AND
NOT MINGW
)
FIND_PACKAGE
(
LIBSSH2 QUIET
)
ENDIF
()
IF
(
LIBSSH2_FOUND
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment