--- KiCadWinbuilder.cmake 2014-06-14 17:42:57.446287300 +0200 +++ workaround/KiCadWinbuilder.cmake 2014-06-24 09:53:21.953230000 +0200 @@ -830,6 +830,13 @@ if( NOT EXISTS "${BUILDDIR}/${BUILD}" ) file( MAKE_DIRECTORY "${BUILDDIR}/${BUILD}" ) endif() +# workaround to align version nbr +if( EXISTS "${BUILDDIR}/${BUILD}/version.h" ) + message( STATUS "updating version nbr" ) + file( REMOVE ${BUILDDIR}/${BUILD}/version.h ) +endif() +# end workaround to align version nbr + # There are some dependency issues with the python wrappers, so the easiest way # to ensure a good build every time is to remove the generated files before each # build. This lengthens all but initial builds. Unfortunately it's the only way