diff --git a/ZAPD/CMakeLists.txt b/ZAPD/CMakeLists.txt index 96c42d0..6d1be86 100644 --- a/ZAPD/CMakeLists.txt +++ b/ZAPD/CMakeLists.txt @@ -479,6 +479,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "CafeOS") else() set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) + find_package(Backtrace REQUIRED) set(ADDITIONAL_LIBRARY_DEPENDENCIES "ZAPDUtils;" -Wl,--whole-archive $/$ -Wl,--no-whole-archive @@ -486,6 +487,7 @@ else() PNG::PNG ${CMAKE_DL_LIBS} Threads::Threads + ${Backtrace_LIBRARY} ) endif()