From a7e5972f82b93180fec05e7f0e9abe8e0d3a0fd1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 11 May 2008 14:26:27 +0000 Subject: [PATCH] Added CARIO_FOUND into svg plugins checks --- src/osgPlugins/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osgPlugins/CMakeLists.txt b/src/osgPlugins/CMakeLists.txt index 20c090c2b..eadd3af7e 100644 --- a/src/osgPlugins/CMakeLists.txt +++ b/src/osgPlugins/CMakeLists.txt @@ -161,9 +161,9 @@ IF(ZLIB_FOUND) ADD_SUBDIRECTORY(zip) ENDIF(ZLIB_FOUND) -IF(RSVG_FOUND) +IF(RSVG_FOUND AND CAIRO_FOUND) ADD_SUBDIRECTORY(svg) -ENDIF(RSVG_FOUND) +ENDIF(RSVG_FOUND AND CAIRO_FOUND) ##########to get all the variables of Cmake