$OpenBSD: patch-app_bin_CMakeLists_txt,v 1.5 2017/05/09 06:07:07 sebastia Exp $
--- app/bin/CMakeLists.txt.orig	Sun Mar 12 16:40:36 2017
+++ app/bin/CMakeLists.txt	Mon May  8 23:26:45 2017
@@ -161,6 +161,10 @@ ADD_EXECUTABLE(mkturnout
 	ctodesgn.c
 	utility.c
 	)
+
+# This ensures that messages.h has been generated before we build mkturnout
+ADD_DEPENDENCIES(mkturnout Help)
+
 SET_TARGET_PROPERTIES(mkturnout PROPERTIES COMPILE_FLAGS -DMKTURNOUT)
 
 IF(NOT WIN32)
