hedgewars/CMakeLists.txt
changeset 2664 949c189ba568
parent 2663 d53918cd22bb
child 2666 2b8c8f16421e
--- a/hedgewars/CMakeLists.txt	Wed Dec 16 14:58:45 2009 +0000
+++ b/hedgewars/CMakeLists.txt	Fri Dec 18 02:33:45 2009 +0000
@@ -136,7 +136,7 @@
 			COMMAND "${pascal_compiler}"
 			ARGS ${pascal_compiler_flags} -ohwengine.${build_arch} -P${build_arch}
 			MAIN_DEPENDENCY ${hwengine_project}
-			DEPENDS ${engine_sources}
+			DEPENDS ${engine_sources} SDLmain
 			)
 		add_custom_target(hwengine.${build_arch} ALL DEPENDS "${EXECUTABLE_OUTPUT_PATH}/hwengine.${build_arch}")
 	endforeach()