Functions.cmake: add missing dependency to *.keywords.

Due to this missing dependency, when a xxx.keyword file was modified, the files built from it were not rebuilt
This commit is contained in:
jean-pierre charras 2019-06-26 19:25:24 +02:00
parent e800bc5ffe
commit 8d84e22f31
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ function( make_lexer outputTarget inputFile outHeaderFile outCppFile enum )
${outHeaderFile} and ${outHeaderFile} and
${outCppFile} from ${outCppFile} from
${inputFile}" ${inputFile}"
DEPENDS ${inputFile}
) )
add_custom_target( ${outputTarget} add_custom_target( ${outputTarget}

View File

@ -2,7 +2,7 @@
# This program source code file is part of KiCad, a free EDA CAD application. # This program source code file is part of KiCad, a free EDA CAD application.
# #
# Copyright (C) 2012 CERN. # Copyright (C) 2012 CERN.
# Copyright (C) 2017 KiCad Developers, see AUTHORS.txt for contributors. # Copyright (C) 2019 KiCad Developers, see AUTHORS.txt for contributors.
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License # modify it under the terms of the GNU General Public License