summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2019-01-10 17:03:38 +0100
committerEtienne Samson <samson.etienne@gmail.com>2019-01-10 17:03:38 +0100
commit2cc66dd5039859c7e75aea69ca69aa49f953980c (patch)
treebada997261c688ba967a15288380faf150495588
parent1305cd4e8dfc9612250c4392d601cc41fcc22f23 (diff)
downloadlibgit2-2cc66dd5039859c7e75aea69ca69aa49f953980c.tar.gz
cmake: remove unconditional -Wno-deprecated-declaration on APPLE
After taking into consideration the following, I think this should be removed : - OpenSSL isn't the default on Apple platforms - you have to jump through hoops to get CMake to use OpenSSL on macOS (headers aren't in `/usr/include`, so you have to provide `-DOPENSSL_*` overrides) - users are likely (as getting anywhere near the installed 0.9.8 version is insanity IMHO) to package a "modern" version, which wouldn't be marked as deprecated
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8dd2992ca..eff2500d5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,9 +235,6 @@ ELSE ()
ENABLE_WARNINGS(int-conversion)
DISABLE_WARNINGS(documentation-deprecated-sync)
- IF (APPLE) # Apple deprecated OpenSSL
- DISABLE_WARNINGS(deprecated-declarations)
- ENDIF()
IF (PROFILE)
SET(CMAKE_C_FLAGS "-pg ${CMAKE_C_FLAGS}")