[Bf-blender-cvs] [920edc330dd] greasepencil-object: GPencil: Add paths for libharu for cmake

Falk David noreply at git.blender.org
Wed Dec 9 13:57:32 CET 2020


Commit: 920edc330ddee3c36d3be9c7931df359eb246147
Author: Falk David
Date:   Wed Dec 9 11:52:05 2020 +0100
Branches: greasepencil-object
https://developer.blender.org/rB920edc330ddee3c36d3be9c7931df359eb246147

GPencil: Add paths for libharu for cmake

===================================================================

M	source/blender/io/gpencil/CMakeLists.txt

===================================================================

diff --git a/source/blender/io/gpencil/CMakeLists.txt b/source/blender/io/gpencil/CMakeLists.txt
index 2c721df1f91..89594f59933 100644
--- a/source/blender/io/gpencil/CMakeLists.txt
+++ b/source/blender/io/gpencil/CMakeLists.txt
@@ -33,13 +33,11 @@ set(INC
   ../../../../intern/clog
   ../../../../intern/guardedalloc
   ../../../../intern/utfconv
-
-  # This line must be changed if Libharu is included as external lib
-  ${LIBDIR}/libharu/include
 )
 
 set(INC_SYS
   ${PUGIXML_INCLUDE_DIR}
+  ${LIBHARU_INCLUDE_DIR}
 )
 
 set(SRC
@@ -70,10 +68,9 @@ set(LIB
   bf_blenkernel
   bf_blenlib
   bf_io_common
-  ${PUGIXML_LIBRARIES}
 
-  # This line must be changed if Libharu is included as external lib
-  ${LIBDIR}/libharu/lib/libhpdfsd.lib
+  ${PUGIXML_LIBRARIES}
+  ${LIBHARU_LIBRARIES}
 )
 
 list(APPEND LIB



More information about the Bf-blender-cvs mailing list