Use cmake's FindBacktrace module to find backtrace(3)
ClosedPublic

Authored by tcberner on Jan 22 2020, 7:48 PM.

Details

Summary

Add Backtrace_LIBRARY to the linked libraries, and
Backtrace_INCLUDE_DIRS to the header directories.

This should fix the builds on FreeBSD

Diff Detail

Repository
R220 Subversion Client (KDE SVN)
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
tcberner requested review of this revision.Jan 22 2020, 7:48 PM
tcberner created this revision.
tcberner edited the summary of this revision. (Show Details)Jan 22 2020, 7:50 PM

Typo in the commit message: LIBRAIRES-> LIBRARIES

Thanks in advance for fixing it.

tcberner updated this revision to Diff 74167.Jan 22 2020, 7:58 PM
tcberner edited the summary of this revision. (Show Details)

Update commit message

+1 Does not break compilation on Linux.

bcooksley accepted this revision.Jan 24 2020, 8:59 AM

Change looks good to me.

This revision is now accepted and ready to land.Jan 24 2020, 8:59 AM
This revision was automatically updated to reflect the committed changes.

Hi,

I cherry-picked it on the stable branch (2.1) too to fix the build (https://build.kde.org/view/Failing/job/Extragear/job/kdesvn/job/stable-kf5-qt5%20FreeBSDQt5.14/).

Thanks