Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-02-11 22:28:10 +0300
committerBastien Montagne <bastien@blender.org>2021-02-11 22:28:10 +0300
commit847da6176e3906d2b8b562777948ffa4dbb9e8fa (patch)
treec4e723562a3daafd05230ff82f7a023c2b4947cc
parented817d62bd087686112fe4428ad47bd237dbef46 (diff)
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.
-rw-r--r--build_files/cmake/Modules/FindHaru.cmake2
1 files changed, 2 insertions, 0 deletions
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