Browse Source

Switch to c++17

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/105/head
R4SAS 3 months ago
parent
commit
d7dfa22f27
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 6
      i2pd_qt.pro

6
i2pd_qt.pro

@ -14,7 +14,7 @@ linux:icons.path = /usr/share/icons/hicolor/
TEMPLATE = app TEMPLATE = app
QMAKE_CXXFLAGS *= -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-deprecated-copy QMAKE_CXXFLAGS *= -Wno-unused-parameter -Wno-maybe-uninitialized -Wno-deprecated-copy
CONFIG += strict_c++ c++11 CONFIG += strict_c++ c++17
# suppress OpenSSL deprecation warnings # suppress OpenSSL deprecation warnings
DEFINES += OPENSSL_SUPPRESS_DEPRECATED DEFINES += OPENSSL_SUPPRESS_DEPRECATED
@ -147,8 +147,6 @@ macx {
LIBS += $$SSLROOT/lib/libcrypto.a LIBS += $$SSLROOT/lib/libcrypto.a
LIBS += $$SSLROOT/lib/libssl.a LIBS += $$SSLROOT/lib/libssl.a
LIBS += $$BOOSTROOT/lib/libboost_system.a LIBS += $$BOOSTROOT/lib/libboost_system.a
LIBS += $$BOOSTROOT/lib/libboost_date_time.a
LIBS += $$BOOSTROOT/lib/libboost_filesystem.a
LIBS += $$BOOSTROOT/lib/libboost_program_options.a LIBS += $$BOOSTROOT/lib/libboost_program_options.a
LIBS += $$UPNPROOT/lib/libminiupnpc.a LIBS += $$UPNPROOT/lib/libminiupnpc.a
LIBS += -Wl,-dead_strip LIBS += -Wl,-dead_strip
@ -158,7 +156,7 @@ macx {
linux:!android { linux:!android {
message("Using Linux settings") message("Using Linux settings")
LIBS += -lcrypto -lssl -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lpthread -lminiupnpc LIBS += -lcrypto -lssl -lboost_system -lboost_program_options -lpthread -lminiupnpc
INSTALLS += TARGET INSTALLS += TARGET
INSTALLS += icons INSTALLS += icons

Loading…
Cancel
Save