# Search for libunwind and components, both includes and libraries
#
-# Copyright (C) 2003-2021 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.
#
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}")
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}}")
else()
SET(LIBUNWIND_LIBRARIES "${LIBUNWIND_LIBRARIES} -l${component}")
endif()
-
+
else()
message(" Looking for lib${component}.${LIB_EXE} - not found")
SET(HAVE_LIBUNWIND 0)