From 3e0af488ee5820f35462f381c5a1676dc9560a5d Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Fri, 24 Sep 2010 15:34:20 -0300 Subject: Fix bug#168 - "API documentation suggestions" and other fixes. Reviewer: Luciano Wolf Marcelo Lira --- CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 47ab784fa..5c50500ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,6 +179,12 @@ enable_testing() add_subdirectory(libpyside) # project directories -add_subdirectory(${BINDING_NAME}) +add_subdirectory(PySide) add_subdirectory(tests) -add_subdirectory(doc) + +find_program(DOT_EXEC dot) +if (QT_SRC_DIR AND DOT_EXEC) + add_subdirectory(doc) +else () + message(STATUS "QT_SRC_DIR variable not set or graphviz not found, apidoc generation targets disabled.") +endif() -- cgit v1.2.3