diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-06 18:39:39 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-05-06 18:39:39 +0200 |
commit | 25f355cbedb2320ca5c4db5e02d1ab9ca7ac9cab (patch) | |
tree | 1119f07307744c34e5347334513e596641323dfa /CMakeLists.txt | |
parent | 5b6292a77c343a4fe41b2a10ae99193e20577ee8 (diff) | |
parent | 57aa839cafbd880a8db421071f53d8e38a68b3bd (diff) | |
download | libgit2-25f355cbedb2320ca5c4db5e02d1ab9ca7ac9cab.tar.gz |
Merge pull request #3086 from yongthecoder/master
Android build doesn't need deps/regex
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 935129d04..be7d8dfb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() |