hedgewars/CMakeLists.txt
branchphysfslayer
changeset 8528 ffd71e99a4f0
parent 8518 24d2bdc6deff
child 8611 90f445317e8a
equal deleted inserted replaced
8526:9f2bd885d773 8528:ffd71e99a4f0
   248 #when system Lua is not found we need to compile it before engine
   248 #when system Lua is not found we need to compile it before engine
   249 if(NOT LUA_FOUND)
   249 if(NOT LUA_FOUND)
   250     add_dependencies(hwengine lua)
   250     add_dependencies(hwengine lua)
   251 endif()
   251 endif()
   252 
   252 
   253 # compile physfs before engine
   253 # same for physfs
   254 add_dependencies(hwengine physfs)
   254 if(NOT PHYSFS_FOUND)
       
   255     add_dependencies(hwengine physfs)
       
   256 endif()
       
   257 
       
   258 add_dependencies(hwengine physlayer)
   255 
   259 
   256 #when ffmpeg/libav is found we need to compile it before engine
   260 #when ffmpeg/libav is found we need to compile it before engine
   257 #TODO: convert avwrapper to .pas unit so we can skip this step
   261 #TODO: convert avwrapper to .pas unit so we can skip this step
   258 if(${FFMPEG_FOUND})
   262 if(${FFMPEG_FOUND})
   259     add_dependencies(hwengine avwrapper)
   263     add_dependencies(hwengine avwrapper)