$OpenBSD: patch-app_bin_CMakeLists_txt,v 1.4 2015/10/28 09:37:57 sebastia Exp $
--- app/bin/CMakeLists.txt.orig	Wed Jun 10 18:30:19 2015
+++ app/bin/CMakeLists.txt	Tue Oct 27 15:13:05 2015
@@ -160,6 +160,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)
