Skip to content

Commit d70c3fc

Browse files
madebricculus
authored andcommitted
cmake: remove 'dist' target
Source tarballs can be created through build-scripts/build-release.py
1 parent 3dbfffa commit d70c3fc

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -393,19 +393,6 @@ if(PHYSFS_BUILD_DOCS)
393393
endif()
394394
endif()
395395

396-
if(UNIX)
397-
set(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
398-
399-
set(PHYSFS_TARGETNAME_DIST "dist" CACHE STRING "Name of 'dist' build target")
400-
add_custom_target(
401-
${PHYSFS_TARGETNAME_DIST}
402-
git archive --prefix="physfs-${PHYSFS_VERSION}/" --output="${PHYSFS_TARBALL}" HEAD
403-
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
404-
COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
405-
)
406-
endif()
407-
408-
409396
macro(message_bool_option _NAME _VALUE)
410397
if(${_VALUE})
411398
message(STATUS " ${_NAME}: enabled")

0 commit comments

Comments
 (0)