Skip to content

Commit baef2ec

Browse files
committed
add SVG_INCLUDE_DIR so that svg.h is found
1 parent 44ac087 commit baef2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ if(WITH_SVGCAIRO)
530530
endif(WITH_RSVG)
531531
find_package(SVGCairo)
532532
if(SVGCAIRO_FOUND)
533-
include_directories(${SVGCAIRO_INCLUDE_DIR})
533+
include_directories(${SVG_INCLUDE_DIR} ${SVGCAIRO_INCLUDE_DIR})
534534
ms_link_libraries( ${SVG_LIBRARY} ${SVGCAIRO_LIBRARY})
535535
set (USE_SVG_CAIRO 1)
536536
else(SVGCAIRO_FOUND)

0 commit comments

Comments
 (0)