mirror of
https://github.com/nymea/nymea-plugins.git
synced 2026-08-04 03:23:36 +02: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
|
||||
|
||||
# apt install libsodium-dev
|
||||
LIBS += -lsodium
|
||||
PKGCONFIG += libsodium
|
||||
|
||||
HEADERS += \
|
||||
integrationpluginnuki.h \
|
||||
|
||||
@ -2,9 +2,7 @@ include(../plugins.pri)
|
||||
|
||||
TARGET = $$qtLibraryTarget(nymea_integrationpluginonewire)
|
||||
|
||||
LIBS += \
|
||||
-low \
|
||||
-lowcapi \
|
||||
PKGCONFIG += owcapi
|
||||
|
||||
SOURCES += \
|
||||
integrationpluginonewire.cpp \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user