CMakeLists.txt
branchphysfslayer
changeset 8522 1853628ae285
parent 8348 c039ac6f33e0
child 8528 ffd71e99a4f0
equal deleted inserted replaced
8520:1dedcc37bfe8 8522:1853628ae285
   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 (static on unix, dll on win32)
   271 add_subdirectory(misc/physfs)
   271 find_package(PhysFS)
   272 if(NOT WIN32)
   272 if(PHYSFS_FOUND EQUAL FALSE)
   273     list(APPEND pascal_flags "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a")
   273     add_subdirectory(misc/physfs)
   274 endif()
   274 endif()
       
   275 #    if(NOT WIN32)
       
   276 #        list(APPEND pascal_flags "-k${LIBRARY_OUTPUT_PATH}/libphysfs.a")
       
   277 #    endif()
   275 
   278 
   276 
   279 
   277 #main engine
   280 #main engine
   278 add_subdirectory(hedgewars)
   281 add_subdirectory(hedgewars)
   279 
   282