--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -245,15 +245,13 @@ macro(CMAKE_SETUP_TESTING)
     if(CMake_TEST_EXTERNAL_CMAKE)
       set(CMAKE_CTEST_COMMAND "${CMake_TEST_EXTERNAL_CMAKE}/ctest")
       set(CMAKE_CMAKE_COMMAND "${CMake_TEST_EXTERNAL_CMAKE}/cmake")
-      set(CMAKE_CPACK_COMMAND "${CMake_TEST_EXTERNAL_CMAKE}/cpack")
-      foreach(exe IN ITEMS cmake ctest cpack)
+      foreach(exe IN ITEMS cmake ctest)
         add_executable(${exe} IMPORTED)
         set_property(TARGET ${exe} PROPERTY IMPORTED_LOCATION ${CMake_TEST_EXTERNAL_CMAKE}/${exe})
       endforeach()
     else()
       set(CMAKE_CTEST_COMMAND "${CMake_BIN_DIR}/ctest")
       set(CMAKE_CMAKE_COMMAND "${CMake_BIN_DIR}/cmake")
-      set(CMAKE_CPACK_COMMAND "${CMake_BIN_DIR}/cpack")
     endif()
   endif()
 
@@ -462,7 +460,6 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE)
   add_custom_target(uninstall
     "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
 
-  include(CMakeCPack.cmake)
 
 endif()
 
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -1039,6 +1039,7 @@ target_link_libraries(CTestLib PUBLIC CM
 #
 # Build CPackLib
 #
+if(FALSE)
 add_library(
   CPackLib
   CPack/cmCPackArchiveGenerator.cxx
@@ -1071,9 +1072,10 @@ target_include_directories(
     "${CMAKE_CURRENT_BINARY_DIR}/CPack"
   )
 target_link_libraries(CPackLib PUBLIC CMakeLib)
+endif()
 
 option(CPACK_ENABLE_FREEBSD_PKG "Add FreeBSD pkg(8) generator to CPack." OFF)
-if(UNIX)
+if(FALSE)
   target_sources(
     CPackLib
     PRIVATE
@@ -1191,11 +1193,6 @@ add_executable(ctest ctest.cxx)
 target_link_libraries(ctest PRIVATE CTestLib ManifestLib)
 list(APPEND _tools ctest)
 
-# Build CPack executable
-add_executable(cpack CPack/cpack.cxx)
-target_link_libraries(cpack PRIVATE CPackLib ManifestLib)
-list(APPEND _tools cpack)
-
 # Curses GUI
 if(BUILD_CursesDialog)
   add_subdirectory(CursesDialog)
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -143,7 +143,6 @@ if(BUILD_TESTING)
   endif()
 
   # Look for git to use for tests.
-  find_program(GIT_EXECUTABLE NAMES git)
 
   # Look for rpmbuild to use for tests.
   # The tool does not work with spaces in the path.
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -816,9 +816,6 @@ add_RunCMake_test(file-GET_RUNTIME_DEPEN
   -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}
   )
 
-add_RunCMake_test(CPackCommandLine)
-add_RunCMake_test(CPackConfig)
-add_RunCMake_test(CPackInstallProperties)
 if(XCODE_VERSION)
   set(ExternalProject_ARGS -DXCODE_VERSION=${XCODE_VERSION})
 endif()
@@ -837,9 +834,6 @@ add_RunCMake_test(CTestCommandLine -DTES
 add_RunCMake_test(CacheNewline)
 # Only run this test on unix platforms that support
 # symbolic links
-if(UNIX)
-  add_RunCMake_test(CPackSymlinks)
-endif()
 
 set(IfacePaths_INCDIRS_ARGS -DTEST_PROP=INCLUDE_DIRECTORIES)
 add_RunCMake_test(IfacePaths_INCDIRS TEST_DIR IfacePaths)
@@ -970,8 +964,6 @@ set(cpack_tests
 if(APPLE)
   list(APPEND cpack_tests DragNDrop)
 endif()
-add_RunCMake_test_group(CPack "${cpack_tests}")
-# add a test to make sure symbols are exported from a shared library
 # for MSVC compilers CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS property is used
 add_RunCMake_test(AutoExportDll
   -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
@@ -1015,27 +1007,6 @@ add_RunCMake_test(PrecompileHeaders -DCM
   -DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION})
 
 add_RunCMake_test("UnityBuild")
-add_RunCMake_test(CMakePresets
-  -DPython_EXECUTABLE=${Python_EXECUTABLE}
-  -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
-  )
-add_RunCMake_test(CMakePresetsBuild
-  -DPython_EXECUTABLE=${Python_EXECUTABLE}
-  -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
-  -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}
-  )
-add_RunCMake_test(CMakePresetsTest
-  -DPython_EXECUTABLE=${Python_EXECUTABLE}
-  -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
-  )
-add_RunCMake_test(CMakePresetsPackage
-  -DPython_EXECUTABLE=${Python_EXECUTABLE}
-  -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
-  )
-add_RunCMake_test(CMakePresetsWorkflow
-  -DPython_EXECUTABLE=${Python_EXECUTABLE}
-  -DCMake_TEST_JSON_SCHEMA=${CMake_TEST_JSON_SCHEMA}
-  )
 
 add_RunCMake_test(VerifyHeaderSets)
 
