fix locating libunwind without pkgconfig (#76)
The call to find_path used an incorrect variable name, that wasn't included in the target_include_directories call.
This commit is contained in:
parent
a3dc33d8ca
commit
965505e465
@ -389,7 +389,7 @@ if(CPPTRACE_UNWIND_WITH_LIBUNWIND)
|
||||
if(NOT libunwind_FOUND)
|
||||
# set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS ON)
|
||||
# set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS ON)
|
||||
find_path(LIBUNWIND_INCLUDE_DIR NAMES "libunwind.h")
|
||||
find_path(LIBUNWIND_INCLUDE_DIRS NAMES "libunwind.h")
|
||||
find_library(LIBUNWIND NAMES unwind libunwind libunwind8 libunwind.so.8 REQUIRED PATHS "/usr/lib/x86_64-linux-gnu/")
|
||||
if(LIBUNWIND)
|
||||
set(libunwind_FOUND TRUE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user