hedgewars/CMakeLists.txt
branch0.9.20
changeset 9924 aa7e7544ae41
parent 9916 e244445d0750
child 9950 2759212a27de
child 9959 1a42d36f346a
--- a/hedgewars/CMakeLists.txt	Sat Jan 04 02:18:57 2014 +0100
+++ b/hedgewars/CMakeLists.txt	Sat Jan 04 02:15:01 2014 +0100
@@ -197,6 +197,7 @@
 
     add_definitions(-dHWLIBRARY)
     set_source_files_properties(hwLibrary.pas PROPERTIES OBJECT_DEPENDS "${sourcefiles_sofar}")
+    set_source_files_properties(hwLibrary.pas PROPERTIES OBJECT_DEPENDS hwengine.pas)
     add_library(hwengine SHARED hwLibrary.pas)
 else()
     # no need to change name here because target has same name