Преглед на файлове

cmake: remove 'dist' target

Source tarballs can be created through build-scripts/build-release.py
Anonymous Maarten преди 2 месеца
родител
ревизия
d70c3fcf06
променени са 1 файла, в които са добавени 0 реда и са изтрити 13 реда
  1. 0 13
      CMakeLists.txt

+ 0 - 13
CMakeLists.txt

@@ -393,19 +393,6 @@ if(PHYSFS_BUILD_DOCS)
     endif()
 endif()
 
-if(UNIX)
-    set(PHYSFS_TARBALL "${CMAKE_CURRENT_SOURCE_DIR}/../physfs-${PHYSFS_VERSION}.tar.gz")
-
-    set(PHYSFS_TARGETNAME_DIST "dist" CACHE STRING "Name of 'dist' build target")
-    add_custom_target(
-        ${PHYSFS_TARGETNAME_DIST}
-        git archive --prefix="physfs-${PHYSFS_VERSION}/" --output="${PHYSFS_TARBALL}" HEAD
-        WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
-        COMMENT "Building source tarball '${PHYSFS_TARBALL}'..."
-    )
-endif()
-
-
 macro(message_bool_option _NAME _VALUE)
     if(${_VALUE})
         message(STATUS "  ${_NAME}: enabled")