From b1369e636e06e5ea1547c38b554fcb17ad7ca81a Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 1 Nov 2016 21:55:56 +0100 Subject: [PATCH] fix MC on 32bits about libunwind --- tools/cmake/Modules/FindLibunwind.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/cmake/Modules/FindLibunwind.cmake b/tools/cmake/Modules/FindLibunwind.cmake index d940934da4..1a2dd8308e 100644 --- a/tools/cmake/Modules/FindLibunwind.cmake +++ b/tools/cmake/Modules/FindLibunwind.cmake @@ -36,9 +36,9 @@ if(NOT PATH_LIBUNWIND_LIB) # Mac OSX has a libunwind that is not the one we need, so double check if (PATH_LIBUNWIND_LIB) message(STATUS "Looking for libunwind - found") - CHECK_LIBRARY_EXISTS(unwind unw_init_local PATH_LIBUNWIND_LIB RIGHT_LIBUNWIND) + CHECK_LIBRARY_EXISTS(unwind unw_init_local "${PATH_LIBUNWIND_LIB}" RIGHT_LIBUNWIND) if (NOT RIGHT_LIBUNWIND) - message(STATUS "This libunwind does not contain unw_init_local(). It's unusable.") + message(STATUS "libunwind in ${PATH_LIBUNWIND_LIB} is unusable. Disable it.") set(PATH_LIBUNWIND_LIB 0) endif() -- 2.20.1