Build physfs lib before engine physfslayer
authorunc0rr
Wed, 07 Nov 2012 23:44:54 +0400
branchphysfslayer
changeset 7967 2f4fa2a06e4f
parent 7963 9910f303f5b6
child 7971 fcbaa236a2d5
Build physfs lib before engine
hedgewars/CMakeLists.txt
--- a/hedgewars/CMakeLists.txt	Mon Nov 05 23:10:54 2012 +0400
+++ b/hedgewars/CMakeLists.txt	Wed Nov 07 23:44:54 2012 +0400
@@ -264,6 +264,8 @@
     add_dependencies(${engine_output_name} lua)
 endif()
 
+add_dependencies(${engine_output_name} physfs)
+
 #this command is a workaround to some inlining issues present in older FreePascal versions and fixed in 2.6
 if((fpc_version LESS "020600") AND (NOVIDEOREC OR NOT ${FFMPEG_FOUND}))
     add_dependencies(${engine_output_name} ENGINECLEAN)