diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-03-18 14:36:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-18 14:36:04 +0000 |
| commit | 44372ce53a9ea0d98b214eb76503601dfc06a199 (patch) | |
| tree | 30fcfa61cd6b60198719da04558ba75bd5e4bb03 /src | |
| parent | be36db28f64de8ed5ca9870708a56b6668c6c482 (diff) | |
| parent | 153199aeb40edbfc6fb355a38b85c495635844cb (diff) | |
| download | libgit2-44372ce53a9ea0d98b214eb76503601dfc06a199.tar.gz | |
Merge pull request #5451 from pks-t/pks/docker-curl
azure: fix errors due to curl and removal of old VM images
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1915e8a9a..3dfb69ceb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -300,6 +300,10 @@ FILE(GLOB SRC_GIT2 *.c *.h streams/*.c streams/*.h transports/*.c transports/*.h xdiff/*.c xdiff/*.h) +IF(APPLE) + # The old Secure Transport API has been deprecated in macOS 10.15. + SET_SOURCE_FILES_PROPERTIES(streams/stransport.c PROPERTIES COMPILE_FLAGS -Wno-deprecated) +ENDIF() # the xdiff dependency is not (yet) warning-free, disable warnings as # errors for the xdiff sources until we've sorted them out |
