CMake: Fix backtrace linking

This commit is contained in:
Jonas Kvinge
2024-12-14 05:30:31 +01:00
parent 21ab2ef1a7
commit 63631d6b0c

View File

@@ -154,7 +154,7 @@ endif()
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
find_package(Backtrace)
if(Backtrace_FOUND)
if(TARGET Backtrace::Backtrace)
set(HAVE_BACKTRACE ON)
endif()
find_package(Boost CONFIG)