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.
This commit is contained in:
Bastien Montagne 2021-03-24 17:01:19 +01:00
parent a6664383c6
commit d0d0d9d7c6
1 changed files with 2 additions and 2 deletions

View File

@ -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