CMakeLists.txt
branchstable-2.0
changeset 1306 bf155bd2127b
parent 1303 9d642cc86b85
child 1308 ef4eaec5b8e2
equal deleted inserted replaced
1305:3bce0185dd28 1306:bf155bd2127b
   366 ELSE(DOXYGEN_FOUND)
   366 ELSE(DOXYGEN_FOUND)
   367     MESSAGE(STATUS "Doxygen not found. You won't be able to build documentation.")
   367     MESSAGE(STATUS "Doxygen not found. You won't be able to build documentation.")
   368 ENDIF(DOXYGEN_FOUND)
   368 ENDIF(DOXYGEN_FOUND)
   369 
   369 
   370 IF(UNIX)
   370 IF(UNIX)
   371     SET(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
   371     SET(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.bz2")
   372     ADD_CUSTOM_TARGET(
   372     ADD_CUSTOM_TARGET(
   373         dist
   373         dist
   374         hg archive -t tgz "${PHYSFS_TARBALL}"
   374         hg archive -t tbz2 "${PHYSFS_TARBALL}"
   375         WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
   375         WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
   376         COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
   376         COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
   377     )
   377     )
   378 ENDIF(UNIX)
   378 ENDIF(UNIX)
   379 
   379