1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-25 12:12:02 -05:00
sdrangel/flatpak/sdrangel-set-serialdv-path.patch

27 lines
816 B
Diff
Raw Normal View History

2019-10-06 20:00:32 -04:00
diff --git a/cmake/Modules/FindSerialDV.cmake b/cmake/Modules/FindSerialDV.cmake
index e4c40b00a..07470e628 100644
--- a/cmake/Modules/FindSerialDV.cmake
+++ b/cmake/Modules/FindSerialDV.cmake
@@ -3,8 +3,8 @@
find_path(LIBSERIALDV_INCLUDE_DIR
NAMES dvcontroller.h
HINTS ${SERIALDV_DIR}/include/serialdv
- PATHS /usr/include/serialdv
- /usr/local/include/serialdv
+ PATHS /app/include/serialdv
+ /app/local/include/serialdv
)
set(LIBSERIAL_NAMES ${LIBSERIAL_NAMES} serialdv libserialdv)
@@ -12,8 +12,8 @@ set(LIBSERIAL_NAMES ${LIBSERIAL_NAMES} serialdv libserialdv)
find_library(LIBSERIALDV_LIBRARY
NAMES serialdv
HINTS ${SERIALDV_DIR}/lib
- PATHS /usr/lib
- /usr/local/lib
+ PATHS /app/lib
+ /app/local/lib
)
if (LIBSERIALDV_INCLUDE_DIR AND LIBSERIALDV_LIBRARY)