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:
parent
bd895b5052
commit
cf6f279830
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if(UNIX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_path(PSL_INCLUDE_DIR NAMES libpsl.h HINTS ${_PSL_INCLUDEDIR})
|
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_INCLUDE_DIRS ${PSL_INCLUDE_DIR})
|
||||||
set(PSL_LIBRARIES ${PSL_LIBRARY})
|
set(PSL_LIBRARIES ${PSL_LIBRARY})
|
||||||
|
|
Loading…
Reference in a new issue