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
25f355cb
Commit
25f355cb
authored
May 06, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3086 from yongthecoder/master
Android build doesn't need deps/regex
parents
5b6292a7
57aa839c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
CMakeLists.txt
+1
-3
README.md
+1
-1
No files found.
CMakeLists.txt
View file @
25f355cb
...
...
@@ -34,8 +34,6 @@ OPTION( PROFILE "Generate profiling information" OFF )
OPTION
(
ENABLE_TRACE
"Enables tracing support"
OFF
)
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
)
OPTION
(
USE_GSSAPI
"Link with libgssapi for SPNEGO auth"
OFF
)
...
...
@@ -251,7 +249,7 @@ IF (ENABLE_TRACE STREQUAL "ON")
ENDIF
()
# Include POSIX regex when it is required
IF
(
WIN32 OR AMIGA OR
ANDROID OR
CMAKE_SYSTEM_NAME MATCHES
"(Solaris|SunOS)"
)
IF
(
WIN32 OR AMIGA OR CMAKE_SYSTEM_NAME MATCHES
"(Solaris|SunOS)"
)
INCLUDE_DIRECTORIES
(
deps/regex
)
SET
(
SRC_REGEX deps/regex/regex.c
)
ENDIF
()
...
...
README.md
View file @
25f355cb
...
...
@@ -163,7 +163,7 @@ with full path to the toolchain):
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
Add `
-DCMAKE_TOOLCHAIN_FILE={pathToToolchainFile}
-DANDROID=1
` to cmake command
Add `
-DCMAKE_TOOLCHAIN_FILE={pathToToolchainFile}
` to cmake command
when configuring.
Language Bindings
...
...
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