From c9321269f31d5e3f8d86cd0501797b3cd322fec7 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 16 Jun 2015 12:10:51 +0200 Subject: [PATCH] Try to detect libunwind.{so,dylib} on x86_64 Debian ships the x86 code in libunwind-x86_64.so but Mac OS X uses libunwind.dylib. --- buildtools/Cmake/Modules/FindLibunwind.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/buildtools/Cmake/Modules/FindLibunwind.cmake b/buildtools/Cmake/Modules/FindLibunwind.cmake index 03bbed91de..5de26cca1e 100644 --- a/buildtools/Cmake/Modules/FindLibunwind.cmake +++ b/buildtools/Cmake/Modules/FindLibunwind.cmake @@ -12,7 +12,9 @@ if(PROCESSOR_x86_64) /opt/csw /sw /usr) -else() +end() + +if(NOT PATH_LIBUNWIND_LIB) find_library(PATH_LIBUNWIND_LIB NAMES unwind HINTS -- 2.20.1