From 53842a1a79af6030d9d1606944df88e455f2103a Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 17 Jul 2018 14:20:43 +0200 Subject: [PATCH] Add dependencies. --- tools/cmake/MaintainerMode.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/cmake/MaintainerMode.cmake b/tools/cmake/MaintainerMode.cmake index 468dfadc47..a277ad00ff 100644 --- a/tools/cmake/MaintainerMode.cmake +++ b/tools/cmake/MaintainerMode.cmake @@ -46,6 +46,9 @@ endif() if(enable_maintainer_mode AND NOT WIN32) add_custom_command(OUTPUT ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_extended_traces.h ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi_extended_traces_fortran.h + DEPENDS + ${CMAKE_HOME_DIRECTORY}/tools/smpi/generate_smpi_defines.pl + ${CMAKE_HOME_DIRECTORY}/include/smpi/smpi.h COMMENT "Generating header files for call-location tracing with SMPI" # Make sure there is no space after the redirection operator (>). I received -- 2.20.1