Skip to content

Commit

Permalink
#2320: use both root and include/lib dirs as hints
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Aug 6, 2024
1 parent ec3dc2e commit 21e4c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake-modules/Findlibunwind.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# LIBUNWIND_FOUND, LIBUNWIND_INCLUDE_DIRS, and LIBUNWIND_LIBRARIES are outputs

if(LIBUNWIND_ROOT)
set(LIBUNWIND_INCLUDE_DIR ${LIBUNWIND_ROOT}/include CACHE PATH "The include directory for libunwind")
set(LIBUNWIND_LIBRARY ${LIBUNWIND_ROOT}/lib64;${LIBUNWIND_ROOT}/lib CACHE PATH "The library directory for libunwind")
set(LIBUNWIND_INCLUDE_DIR ${LIBUNWIND_INCLUDE_DIR};${LIBUNWIND_ROOT}/include)
set(LIBUNWIND_LIBRARY ${LIBUNWIND_LIBRARY};${LIBUNWIND_ROOT}/lib64;${LIBUNWIND_ROOT}/lib)
endif()

# First, check only in the hinted paths
Expand Down

0 comments on commit 21e4c5e

Please sign in to comment.