Skip to content

Commit

Permalink
CMake: Only use pkgconfig path for liblzma as a last resort
Browse files Browse the repository at this point in the history
Otherwise this breaks multilib builds.
  • Loading branch information
dscharrer committed Jan 2, 2025
1 parent 06a38bf commit d9e3f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindLZMA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ foreach(static IN ITEMS 1 0)
string(REGEX REPLACE "(.*)/include/?" "\\1" LZMA_BASE_DIR ${LZMA_INCLUDE_DIR})

find_library(LZMA_LIBRARY lzma liblzma
HINTS
PATHS
${_PC_LZMA_LIBRARY_DIRS}
"${LZMA_BASE_DIR}/lib"
DOC "The LZMA library"
Expand Down

0 comments on commit d9e3f5e

Please sign in to comment.