CMakeLists.txt
branchphysfslayer
changeset 8528 ffd71e99a4f0
parent 8522 1853628ae285
child 8540 cf808329bb6f
equal deleted inserted replaced
8526:9f2bd885d773 8528:ffd71e99a4f0
   265     #linking with liblua.a requires system readline
   265     #linking with liblua.a requires system readline
   266     list(APPEND pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline")
   266     list(APPEND pascal_flags "-k${EXECUTABLE_OUTPUT_PATH}/lib${LUA_LIBRARY}.a" "-k-lreadline")
   267 endif()
   267 endif()
   268 
   268 
   269 
   269 
   270 #physfs library (static on unix, dll on win32)
   270 #physfs library and its layer
   271 find_package(PhysFS)
   271 if(NOT DEFINED PHYSFS_BUNDLE)
   272 if(PHYSFS_FOUND EQUAL FALSE)
   272     find_package(PhysFS)
   273     add_subdirectory(misc/physfs)
   273 endif()
   274 endif()
   274 if(NOT PHYSFS_FOUND)
   275 #    if(NOT WIN32)
   275     message(STATUS "PhysFS will be provided by the bundled sources")
   276 #        list(APPEND pascal_flags "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a")
   276     add_subdirectory(misc/libphysfs)
   277 #    endif()
   277 endif()
   278 
   278 add_subdirectory(misc/libphyslayer)
   279 
   279 
   280 #main engine
   280 #main engine
   281 add_subdirectory(hedgewars)
   281 add_subdirectory(hedgewars)
   282 
   282 
   283 #Android related build scripts
   283 #Android related build scripts