Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to detect libunwind.{so,dylib} on x86_64
authorGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 10:10:51 +0000 (12:10 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 16 Jun 2015 10:10:53 +0000 (12:10 +0200)
Debian ships the x86 code in libunwind-x86_64.so but Mac OS X uses
libunwind.dylib.

buildtools/Cmake/Modules/FindLibunwind.cmake

index 03bbed9..5de26cc 100644 (file)
@@ -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