X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..c1f72d83295393da38a9373e6f0b0cf41f31cb4f:/tools/cmake/Modules/FindLibunwind.cmake diff --git a/tools/cmake/Modules/FindLibunwind.cmake b/tools/cmake/Modules/FindLibunwind.cmake index 9151c96ed7..2066d48f8b 100644 --- a/tools/cmake/Modules/FindLibunwind.cmake +++ b/tools/cmake/Modules/FindLibunwind.cmake @@ -1,6 +1,6 @@ # Search for libunwind and components, both includes and libraries # -# Copyright (C) 2003-2020 The SimGrid Team. +# Copyright (C) 2003-2023 The SimGrid Team. # This is distributed under the LGPL licence but please contact us for # relicensing if you need. This is merely free software, no matter the licence. # @@ -41,7 +41,7 @@ find_path(PATH_LIBUNWIND_H "libunwind.h" HINTS $ENV{LIBUNWIND_HINT} $ENV{LD_LIBRARY_PATH} - PATH_SUFFIXES include/ GnuWin32/include + PATH_SUFFIXES include/ PATHS /opt /opt/local /opt/csw /sw /usr) if(PATH_LIBUNWIND_H) string(REGEX REPLACE "/libunwind.h" "" PATH_LIBUNWIND_H "${PATH_LIBUNWIND_H}") @@ -63,7 +63,7 @@ foreach(component ${LIBUNWIND_COMPONENTS}) HINTS $ENV{LIBUNWIND_HINT} $ENV{LD_LIBRARY_PATH} - PATH_SUFFIXES lib/ GnuWin32/lib lib/system + PATH_SUFFIXES lib/ lib/system PATHS /opt /opt/local /opt/csw /sw /usr /usr/lib/) if(PATH_LIBUNWIND_LIB_${component}) # message(" ${component} ${PATH_LIBUNWIND_LIB_${component}}") @@ -78,7 +78,7 @@ foreach(component ${LIBUNWIND_COMPONENTS}) else() SET(LIBUNWIND_LIBRARIES "${LIBUNWIND_LIBRARIES} -l${component}") endif() - + else() message(" Looking for lib${component}.${LIB_EXE} - not found") SET(HAVE_LIBUNWIND 0)