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
1ddc57b3
Unverified
Commit
1ddc57b3
authored
Dec 23, 2017
by
Edward Thomson
Committed by
GitHub
Dec 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4402 from libgit2/ethomson/iconv
cmake: let USE_ICONV be optional on macOS
parents
06f3aa5f
bbb213c1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
CMakeLists.txt
+6
-2
src/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
1ddc57b3
...
@@ -43,7 +43,6 @@ OPTION( ENABLE_TRACE "Enables tracing support" OFF )
...
@@ -43,7 +43,6 @@ OPTION( ENABLE_TRACE "Enables tracing support" OFF )
OPTION
(
LIBGIT2_FILENAME
"Name of the produced binary"
OFF
)
OPTION
(
LIBGIT2_FILENAME
"Name of the produced binary"
OFF
)
OPTION
(
USE_SHA1DC
"Use SHA-1 with collision detection"
OFF
)
OPTION
(
USE_SHA1DC
"Use SHA-1 with collision detection"
OFF
)
OPTION
(
USE_ICONV
"Link with and use iconv library"
OFF
)
OPTION
(
USE_SSH
"Link with libssh to enable SSH support"
ON
)
OPTION
(
USE_SSH
"Link with libssh to enable SSH support"
ON
)
OPTION
(
USE_HTTPS
"Enable HTTPS support. Can be set to a specific backend"
ON
)
OPTION
(
USE_HTTPS
"Enable HTTPS support. Can be set to a specific backend"
ON
)
OPTION
(
USE_GSSAPI
"Link with libgssapi for SPNEGO auth"
OFF
)
OPTION
(
USE_GSSAPI
"Link with libgssapi for SPNEGO auth"
OFF
)
...
@@ -52,10 +51,15 @@ OPTION( CURL "Use curl for HTTP if available" ON)
...
@@ -52,10 +51,15 @@ OPTION( CURL "Use curl for HTTP if available" ON)
OPTION
(
USE_EXT_HTTP_PARSER
"Use system HTTP_Parser if available"
ON
)
OPTION
(
USE_EXT_HTTP_PARSER
"Use system HTTP_Parser if available"
ON
)
OPTION
(
DEBUG_POOL
"Enable debug pool allocator"
OFF
)
OPTION
(
DEBUG_POOL
"Enable debug pool allocator"
OFF
)
OPTION
(
ENABLE_WERROR
"Enable compilation with -Werror"
OFF
)
OPTION
(
ENABLE_WERROR
"Enable compilation with -Werror"
OFF
)
OPTION
(
USE_BUNDLED_ZLIB
"Use the bundled version of zlib"
OFF
)
IF
(
UNIX AND NOT APPLE
)
IF
(
UNIX AND NOT APPLE
)
OPTION
(
ENABLE_REPRODUCIBLE_BUILDS
"Enable reproducible builds"
OFF
)
OPTION
(
ENABLE_REPRODUCIBLE_BUILDS
"Enable reproducible builds"
OFF
)
ENDIF
()
ENDIF
()
OPTION
(
USE_BUNDLED_ZLIB
"Use the bundled version of zlib"
OFF
)
IF
(
APPLE
)
OPTION
(
USE_ICONV
"Link with and use iconv library"
ON
)
ENDIF
()
IF
(
MSVC
)
IF
(
MSVC
)
# This option is only available when building with MSVC. By default, libgit2
# This option is only available when building with MSVC. By default, libgit2
...
...
src/CMakeLists.txt
View file @
1ddc57b3
...
@@ -310,7 +310,7 @@ ENDIF()
...
@@ -310,7 +310,7 @@ ENDIF()
ADD_FEATURE_INFO(SPNEGO GIT_GSSAPI "
SPNEGO authentication support
")
ADD_FEATURE_INFO(SPNEGO GIT_GSSAPI "
SPNEGO authentication support
")
# Optional external dependency: iconv
# Optional external dependency: iconv
IF (USE_ICONV
OR CMAKE_SYSTEM_NAME MATCHES "
Darwin
"
)
IF (USE_ICONV)
FIND_PACKAGE(Iconv)
FIND_PACKAGE(Iconv)
ENDIF()
ENDIF()
IF (ICONV_FOUND)
IF (ICONV_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