mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-10-26 14:12:38 +01:00
Use PKGCONFIG to find dependencies instead of hardcoding linker flags
This commit is contained in:
parent
321f58ef9e
commit
9cb9445621
@ -4,8 +4,7 @@ TARGET = $$qtLibraryTarget(nymea_integrationpluginnuki)
|
|||||||
|
|
||||||
QT += bluetooth dbus
|
QT += bluetooth dbus
|
||||||
|
|
||||||
# apt install libsodium-dev
|
PKGCONFIG += libsodium
|
||||||
LIBS += -lsodium
|
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
integrationpluginnuki.h \
|
integrationpluginnuki.h \
|
||||||
|
|||||||
@ -2,9 +2,7 @@ include(../plugins.pri)
|
|||||||
|
|
||||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginonewire)
|
TARGET = $$qtLibraryTarget(nymea_integrationpluginonewire)
|
||||||
|
|
||||||
LIBS += \
|
PKGCONFIG += owcapi
|
||||||
-low \
|
|
||||||
-lowcapi \
|
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
integrationpluginonewire.cpp \
|
integrationpluginonewire.cpp \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user