From d0d0d9d7c659acba779dced73f003348dc173a9b Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 24 Mar 2021 17:01:19 +0100 Subject: Fix broken compilation after recent GPencil commit. rBa8a92cd15a52 was adding external libraries includes to `INC`, which is reserved to internal project includes. `INC` does not allow duplicates, and when using system libs both PugiXML and Haru headers are under the same path. --- source/blender/io/gpencil/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/io/gpencil') diff --git a/source/blender/io/gpencil/CMakeLists.txt b/source/blender/io/gpencil/CMakeLists.txt index f394075cb9a..11c9affbe5a 100644 --- a/source/blender/io/gpencil/CMakeLists.txt +++ b/source/blender/io/gpencil/CMakeLists.txt @@ -68,7 +68,7 @@ if(WITH_PUGIXML) intern/gpencil_io_export_svg.h intern/gpencil_io_export_svg.cc ) - list(APPEND INC + list(APPEND INC_SYS ${PUGIXML_INCLUDE_DIR} ) list(APPEND LIB @@ -82,7 +82,7 @@ if(WITH_HARU) intern/gpencil_io_export_pdf.h intern/gpencil_io_export_pdf.cc ) - list(APPEND INC + list(APPEND INC_SYS ${HARU_INCLUDE_DIRS} ) list(APPEND LIB -- cgit v1.2.3