summaryrefslogtreecommitdiff
path: root/sysutils/qflipper/files/patch-plugins_flipperproto0_flipperproto0.pro
blob: 2d9fd7e594a71daf6efa4458032954c0d5dc0e97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- plugins/flipperproto0/flipperproto0.pro.orig	2023-03-27 09:51:38 UTC
+++ plugins/flipperproto0/flipperproto0.pro
@@ -13,7 +13,6 @@ INCLUDEPATH += $$PWD/../protobufinterface \
 VERSION = 0.0.0
 
 INCLUDEPATH += $$PWD/../protobufinterface \
-    $$PWD/../../3rdparty/nanopb
 
 HEADERS += \
     guirequest.h \
@@ -65,14 +64,14 @@ unix|win32 {
     systemresponse.cpp
 
 unix|win32 {
-    LIBS += -L$$OUT_PWD/../../3rdparty/ -l3rdparty
+    LIBS += -lprotobuf-nanopb
 }
 
 DEFINES += PB_ENABLE_MALLOC
 
 !contains(CONFIG, static) {
     unix:!macx {
-        target.path = $$PREFIX/lib/$$NAME/plugins
+        target.path = $$PREFIX/lib/qt5/plugins
     } else:macx {
         target.path = $$DESTDIR/../$${NAME}.app/Contents/PlugIns
     } else:win32 {