aboutsummaryrefslogtreecommitdiffstats
path: root/community/opencpn/CMakeList.txt.patch
blob: 8a1341d424f0cd0cfe3f6be01960525b5bea7e4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
index 967e558..27bad69 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -489,6 +489,9 @@ IF(OCPN_USE_CRASHREPORT)
             IF(CMAKE_BUILD_TYPE MATCHES "Rel*")
                    MESSAGE (STATUS "Using Linux crash reporting")
                 ADD_DEFINITIONS(-DLINUX_CRASHRPT)
+                IF(EXISTS /etc/alpine-release)
+                    SET(EXTRA_LIBS ${EXTRA_LIBS} "execinfo")
+                ENDIF(EXISTS alpine-release)
             ENDIF(CMAKE_BUILD_TYPE MATCHES "Rel*")
         ENDIF(NOT APPLE AND NOT QT_ANDROID AND NOT MINGW)
     ENDIF(MSVC