diff -r c5fd2d996909 -r 49a39bae067c doc/CMakeLists.txt --- a/doc/CMakeLists.txt Sun Mar 29 23:08:20 2009 +0200 +++ b/doc/CMakeLists.txt Sun Mar 29 22:19:14 2009 +0100 @@ -1,11 +1,11 @@ SET(PACKAGE_NAME ${PROJECT_NAME}) SET(PACKAGE_VERSION ${PROJECT_VERSION}) -SET(abs_top_srcdir ${CMAKE_SOURCE_DIR}) -SET(abs_top_builddir ${CMAKE_BINARY_DIR}) +SET(abs_top_srcdir ${PROJECT_SOURCE_DIR}) +SET(abs_top_builddir ${PROJECT_BINARY_DIR}) CONFIGURE_FILE( - ${CMAKE_SOURCE_DIR}/doc/Doxyfile.in - ${CMAKE_BINARY_DIR}/doc/Doxyfile + ${PROJECT_SOURCE_DIR}/doc/Doxyfile.in + ${PROJECT_BINARY_DIR}/doc/Doxyfile @ONLY) IF(DOXYGEN_EXECUTABLE AND GHOSTSCRIPT_EXECUTABLE)