CMakeLists.txt
branchphysfslayer
changeset 8540 cf808329bb6f
parent 8528 ffd71e99a4f0
child 8544 d610e692e2f6
equal deleted inserted replaced
8538:0e113487c4b2 8540:cf808329bb6f
   271 if(NOT DEFINED PHYSFS_BUNDLE)
   271 if(NOT DEFINED PHYSFS_BUNDLE)
   272     find_package(PhysFS)
   272     find_package(PhysFS)
   273 endif()
   273 endif()
   274 if(NOT PHYSFS_FOUND)
   274 if(NOT PHYSFS_FOUND)
   275     message(STATUS "PhysFS will be provided by the bundled sources")
   275     message(STATUS "PhysFS will be provided by the bundled sources")
       
   276     set(physfs_output_name "hw_physfs")
   276     add_subdirectory(misc/libphysfs)
   277     add_subdirectory(misc/libphysfs)
       
   278     list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}")
   277 endif()
   279 endif()
   278 add_subdirectory(misc/libphyslayer)
   280 add_subdirectory(misc/libphyslayer)
   279 
   281 
   280 #main engine
   282 #main engine
   281 add_subdirectory(hedgewars)
   283 add_subdirectory(hedgewars)