find_package(Qt5 COMPONENTS LinguistTools Core Widgets Gui Network Qml REQUIRED)
set (CMAKE_C_FLAGS "-flto -O3 -fPIC -Wno-deprecated -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2")
-set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -fexceptions -frtti")
+set (CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter -fexceptions -frtti")
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost REQUIRED COMPONENTS atomic chrono filesystem program_options system thread)
message(FATAL_ERROR "Unable to find libdb_cxx library in ${BerkeleyDB_LIBS} directory. Try to specify either library path via BerkeleyDB_LIBS or berkeley db root path via BerkeleyDB_ROOT variable.")
endif()
-list(APPEND ALL_DEFINITIONS QT_GUI USE_QRCODE)
+list(APPEND ALL_DEFINITIONS QT_GUI USE_QRCODE USE_IPV6)
if(USE_LEVELDB)
# Disable useless targets