From 7079d70e8b6e3568a2f1d84ed7cb40f57e381397 Mon Sep 17 00:00:00 2001 From: o9000 Date: Sun, 3 Jan 2016 03:23:29 +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 790595e..5e882a6 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_FOUND) + if(EXECINFO_LIBRARIES) set(EXECINFO_FOUND TRUE) set(EXECINFO_LIBRARIES "-lexecinfo") set(BACKTRACE_L_FLAGS "-rdynamic")