From 0c542b0a9239f98dd4360fda9b09e4d5c3bea960 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 6 Dec 2011 11:34:27 +0000 Subject: [PATCH] Patch from Benjamin Piwowarski set full path for Doxyfile (in sourcedoc/CMakelists.txt) so that the doxydoc target works also on OS X git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40392 a592a061-630c-0410-9148-cb99ea01b6c8 --- sourcedoc/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sourcedoc/CMakeLists.txt b/sourcedoc/CMakeLists.txt index d8ef973e9b..61408bf86a 100644 --- a/sourcedoc/CMakeLists.txt +++ b/sourcedoc/CMakeLists.txt @@ -13,12 +13,12 @@ if(DOXYGEN_EXECUTABLE MATCHES "-NOTFOUND") else() set(VERSION ${PACKAGE_VERSION}) set(top_srcdir "${TOP_SRC_DIR}") - configure_file("${TOP_SRC_DIR}/sourcedoc/Doxyfile.in" Doxyfile @ONLY) + configure_file("${TOP_SRC_DIR}/sourcedoc/Doxyfile.in" "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY) add_custom_command( OUTPUT doxy_created - COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile + COMMAND ${DOXYGEN_EXECUTABLE} "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" COMMAND ${CMAKE_COMMAND} -E touch doxy_created - DEPENDS Doxyfile + DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" ) add_custom_target(doxydoc DEPENDS doxy_created) endif()