Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 17cbfcb

Browse files
committed
Removed path to lib. Added PKGCONFIG and CONFIG
1 parent c41bab3 commit 17cbfcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

software/dbus-tsmppt.pro

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ QMAKE_CXXFLAGS += -Wno-psabi
88
# solved in newer QT versions.
99
QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
1010

11-
LIBS += -L/usr/local/lib -lmodbus
11+
LIBS += -lmodbus
1212
QT += core network dbus
1313
QT -= gui
1414

@@ -18,12 +18,14 @@ CONFIG += console
1818
CONFIG -= app_bundle
1919
DEFINES += VERSION=\\\"$${VERSION}\\\"
2020

21+
PKGCONFIG += dbus-1 libmodbus
22+
CONFIG += link_pkgconfig
23+
2124
include(ext/qslog/QsLog.pri)
2225

2326
INCLUDEPATH += \
2427
ext/qslog \
2528
src/velib/inc \
26-
/usr/local/include/modbus \
2729
src
2830

2931
# Input

0 commit comments

Comments
 (0)