From 6e618a5ebc6d91c42e89143c6ff98d2ddb76e14a Mon Sep 17 00:00:00 2001 From: navarrop Date: Wed, 17 Nov 2010 17:14:18 +0000 Subject: [PATCH] Make example dot if graphviz is enable. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8570 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- buildtools/Cmake/MakeExeLib.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/Cmake/MakeExeLib.cmake b/buildtools/Cmake/MakeExeLib.cmake index c914951a6a..f887c3e04b 100644 --- a/buildtools/Cmake/MakeExeLib.cmake +++ b/buildtools/Cmake/MakeExeLib.cmake @@ -195,9 +195,9 @@ add_subdirectory(${PROJECT_DIRECTORY}/examples/amok/saturate) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dax) -if(HAVE_CGRAPH_H) +if(HAVE_CGRAPH_H AND enable_graphviz) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/dot) -endif(HAVE_CGRAPH_H) +endif(HAVE_CGRAPH_H AND enable_graphviz) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/metaxml) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/properties) add_subdirectory(${PROJECT_DIRECTORY}/examples/simdag/scheduling) -- 2.20.1