From 8d84e22f3108fa96e94be5a0e191396b551d0a0d Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 26 Jun 2019 19:25:24 +0200 Subject: [PATCH] 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 --- CMakeModules/Functions.cmake | 1 + common/pcb.keywords | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeModules/Functions.cmake b/CMakeModules/Functions.cmake index b853b332c8..b926cc0dd2 100644 --- a/CMakeModules/Functions.cmake +++ b/CMakeModules/Functions.cmake @@ -45,6 +45,7 @@ function( make_lexer outputTarget inputFile outHeaderFile outCppFile enum ) ${outHeaderFile} and ${outCppFile} from ${inputFile}" + DEPENDS ${inputFile} ) add_custom_target( ${outputTarget} diff --git a/common/pcb.keywords b/common/pcb.keywords index 756af79690..59d958bcc2 100644 --- a/common/pcb.keywords +++ b/common/pcb.keywords @@ -2,7 +2,7 @@ # This program source code file is part of KiCad, a free EDA CAD application. # # 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 # modify it under the terms of the GNU General Public License