Skip to content
Permalink
Browse files
Merged 1042:dc9291957a5a from default branch: make dist fix.
  • Loading branch information
icculus committed Feb 3, 2010
1 parent 7aaa4dc commit 2276520de945a2fa26616832fbb3498ecabeda20
Showing with 7 additions and 1 deletion.
  1. +7 −1 CMakeLists.txt
@@ -346,7 +346,13 @@ ELSE(DOXYGEN_FOUND)
ENDIF(DOXYGEN_FOUND)

IF(UNIX)
ADD_CUSTOM_TARGET(dist ./extras/makedist.sh ${PHYSFS_VERSION} COMMENT "Building source tarball")
SET(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
ADD_CUSTOM_TARGET(
dist
hg archive -t tgz "${PHYSFS_TARBALL}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
)
ENDIF(UNIX)

MACRO(MESSAGE_BOOL_OPTION _NAME _VALUE)

0 comments on commit 2276520

Please sign in to comment.