From 3947b9109888101dd28653ca59373a7cf9394907 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 28 Apr 2015 19:44:23 +0000 Subject: [PATCH] Take out invalid custom command output that causes unnecessary rebuilds git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5317 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- doc/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 2f20f39aa..c31066af3 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -105,10 +105,9 @@ function (html_document) cmake_parse_arguments (args "" "SOURCE;HTML" "ASCIIDOC_OPTIONS;DEPENDS" ${ARGN}) get_filename_component (_output_name_we ${args_SOURCE} NAME_WE) get_filename_component (_path ${args_SOURCE} PATH) - set (_xml_file ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.xml) set (_doc_file ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.html) add_custom_command ( - OUTPUT ${_doc_file} ${_xml_file} + OUTPUT ${_doc_file} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${path} COMMAND ${ASCIIDOC} ARGS ${args_ASCIIDOC_OPTIONS} -o ${CMAKE_CURRENT_BINARY_DIR}/${_output_name_we}.html ${args_SOURCE} DEPENDS ${args_DEPENDS}