blob: ca55859d2592bb143ce47c3733b237946c0aa4d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
https://github.com/OpenCPN/OpenCPN/issues/676
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -534,6 +534,9 @@
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)
|