mirror of https://github.com/nymea/nymea-mqtt
Merge 5bf7c676d0 into b856c584f8
commit
883fd62997
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue