Fix finding system Haru library on Debian.

Paths and names of system packages-installed libhpdf on Debian (and
probably its derived distributions?) are slightly different than what
was given to CMake finding script.
This commit is contained in:
Bastien Montagne
2021-02-11 20:28:10 +01:00
parent ed817d62bd
commit 847da6176e

View File

@@ -35,11 +35,13 @@ find_path(HARU_INCLUDE_DIR
${_haru_SEARCH_DIRS}
PATH_SUFFIXES
include/haru
include
)
find_library(HARU_LIBRARY
NAMES
hpdfs
hpdf
HINTS
${_haru_SEARCH_DIRS}
PATH_SUFFIXES