From 847da6176e3906d2b8b562777948ffa4dbb9e8fa Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 11 Feb 2021 20:28:10 +0100 Subject: 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. --- build_files/cmake/Modules/FindHaru.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_files/cmake/Modules/FindHaru.cmake b/build_files/cmake/Modules/FindHaru.cmake index 5774f83b8c5..7db57a6adfb 100644 --- a/build_files/cmake/Modules/FindHaru.cmake +++ b/build_files/cmake/Modules/FindHaru.cmake @@ -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 -- cgit v1.2.3