This commit is contained in:
@ -84,14 +84,13 @@ FetchContent_MakeAvailable(nlohmann_json)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(LIBUNWIND REQUIRED IMPORTED_TARGET libunwind)
|
||||
|
||||
# Additional required libraries for static linking
|
||||
# Required libraries for basic stack tracing
|
||||
set(EXTRA_LIBS
|
||||
${LIBUNWIND_LIBRARIES}
|
||||
-lunwind
|
||||
-lunwind-x86_64
|
||||
-llzma
|
||||
-lz
|
||||
-ldl
|
||||
-llzma # Required by libunwind for debug info
|
||||
-ldl # For dladdr
|
||||
)
|
||||
|
||||
# Link libraries
|
||||
|
Reference in New Issue
Block a user