1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 10:15:45 +00:00

Fix finding system PSL library (#2812)

Whilst the library file my be called `libpsl`, CMake expects there to be a `lib` in front and thus the existing code was actually looking for `liblibpsl`.

Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
JP-Ellis 2022-03-25 13:14:11 +11:00 committed by GitHub
parent bd895b5052
commit cf6f279830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ if(UNIX)
endif()
find_path(PSL_INCLUDE_DIR NAMES libpsl.h HINTS ${_PSL_INCLUDEDIR})
find_library(PSL_LIBRARY NAMES libpsl HINTS ${_PSL_LIBDIR})
find_library(PSL_LIBRARY NAMES psl HINTS ${_PSL_LIBDIR})
set(PSL_INCLUDE_DIRS ${PSL_INCLUDE_DIR})
set(PSL_LIBRARIES ${PSL_LIBRARY})