From 07256c0ed3ce0e8366f1d9cd43e0d7f79a103857 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 3 Jan 2016 03:25:40 +0100 Subject: [PATCH] Attempt to fix compilation on BSD --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e882a6..6e535d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ if(BACKTRACE_LIBC) else() pkg_check_modules( UNWIND libunwind ) find_library(EXECINFO_LIBRARIES NAMES execinfo) - if(EXECINFO_LIBRARIES) + if(EXECINFO_LIBRARIES OR EXECINFO_LIBRARIES_FOUND) set(EXECINFO_FOUND TRUE) set(EXECINFO_LIBRARIES "-lexecinfo") set(BACKTRACE_L_FLAGS "-rdynamic")