hwlibrary also depends on hwengine
authorkoda
Sat, 04 Jan 2014 02:15:01 +0100
changeset 9945 c4ae96531f8c
parent 9944 9cd98ce10d65
child 9946 874d33db5fd9
hwlibrary also depends on hwengine
hedgewars/CMakeLists.txt
--- a/hedgewars/CMakeLists.txt	Sat Jan 04 02:00:12 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