CMakeLists.txt
branchphysfslayer
changeset 8558 e96bf10216ef
parent 8555 342f7af2eea5
child 8597 00adaf34d2a3
equal deleted inserted replaced
8555:342f7af2eea5 8558:e96bf10216ef
   304     endif()
   304     endif()
   305 else()
   305 else()
   306     message(STATUS "PhysFS will be provided by the bundled sources")
   306     message(STATUS "PhysFS will be provided by the bundled sources")
   307     set(physfs_output_name "hw_physfs")
   307     set(physfs_output_name "hw_physfs")
   308     add_subdirectory(misc/libphysfs)
   308     add_subdirectory(misc/libphysfs)
   309     #-XLA is a 'beta' fpc flag that will rename libraries before passing them to the linker
   309     #-XLA is a beta fpc flag that renames libraries before passing them to the linker
   310     list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}")
   310     #we also have to pass PHYSFS_INTERNAL to satisfy windows runtime requirements
       
   311     #(should be harmless on other platforms)
       
   312     list(APPEND pascal_flags "-XLAphysfs=${physfs_output_name}" "-dPHYSFS_INTERNAL")
   311 endif()
   313 endif()
   312 
   314 
   313 #
   315 #
   314 add_subdirectory(misc/libphyslayer)
   316 add_subdirectory(misc/libphyslayer)
   315 
   317