mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
Ignore openssl3 deprecation warnings
Ignore openssl3 MD5 low level function deprecation warnings, for now.
This commit is contained in:
parent
5aeab22a94
commit
04b42bd7b3
2 changed files with 4 additions and 1 deletions
|
|
@ -163,6 +163,9 @@ endif()
|
|||
|
||||
if(USE_OPENSSL_MD5)
|
||||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS USE_OPENSSL_MD5)
|
||||
if(NOT MSVC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-deprecated-declarations")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(USE_MEM_FILE OR USE_FMEMOPEN)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ ifdef USE_NO_MD5
|
|||
CFLAGS += -DUSE_NO_MD5
|
||||
else
|
||||
ifdef USE_OPENSSL_MD5
|
||||
CFLAGS += -DUSE_OPENSSL_MD5
|
||||
CFLAGS += -DUSE_OPENSSL_MD5 -Wno-deprecated-declarations
|
||||
LIBS += -lcrypto
|
||||
else
|
||||
# Use md5 (the default).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue