Skip to content

Commit 2cc66dd

Browse files
committed
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
1 parent 1305cd4 commit 2cc66dd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,6 @@ ELSE ()
235235
ENABLE_WARNINGS(int-conversion)
236236
DISABLE_WARNINGS(documentation-deprecated-sync)
237237

238-
IF (APPLE) # Apple deprecated OpenSSL
239-
DISABLE_WARNINGS(deprecated-declarations)
240-
ENDIF()
241238

242239
IF (PROFILE)
243240
SET(CMAKE_C_FLAGS "-pg ${CMAKE_C_FLAGS}")

0 commit comments

Comments
 (0)