Skip to content

Commit

Permalink
Switch to c++17
Browse files Browse the repository at this point in the history
Signed-off-by: R4SAS <[email protected]>
  • Loading branch information
r4sas committed Oct 7, 2024
1 parent ae5316f commit d7dfa22
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions i2pd_qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ linux:icons.path = /usr/share/icons/hicolor/

TEMPLATE = app
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
DEFINES += OPENSSL_SUPPRESS_DEPRECATED
Expand Down Expand Up @@ -147,8 +147,6 @@ macx {
LIBS += $$SSLROOT/lib/libcrypto.a
LIBS += $$SSLROOT/lib/libssl.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 += $$UPNPROOT/lib/libminiupnpc.a
LIBS += -Wl,-dead_strip
Expand All @@ -158,7 +156,7 @@ macx {

linux:!android {
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 += icons
Expand Down

0 comments on commit d7dfa22

Please sign in to comment.