pull/16/merge
Simon Stürz 2021-07-26 13:58:00 +02:00 committed by GitHub
commit 883fd62997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,12 @@
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g
QMAKE_LFLAGS *= -std=c++11
gcc {
COMPILER_VERSION = $$system($$QMAKE_CXX " -dumpversion")
COMPILER_MAJOR_VERSION = $$str_member($$COMPILER_VERSION)
greaterThan(COMPILER_MAJOR_VERSION, 7): QMAKE_CXXFLAGS += -Wno-deprecated-copy
}
top_srcdir=$$PWD
top_builddir=$$shadowed($$PWD)

View File

@ -12,5 +12,5 @@ SOURCES += main.cpp
LIBS += -L$$top_builddir/libnymea-mqtt/ -lnymea-mqtt
target.path = /usr/bin/
target.path = $$[QT_INSTALL_PREFIX]/bin/
INSTALLS += target