blob: ecd50e12159bef30ddf063670dd034cf759be0bc [file] [log] [blame]
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c1f8770..642ac000 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.17 FATAL_ERROR)
PROJECT(libarchive C)
#
-SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake")
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build/cmake")
if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${libarchive_BINARY_DIR}/bin)
endif()
diff --git a/libarchive/CMakeLists.txt b/libarchive/CMakeLists.txt
index fd997db4..ce1ad6dd 100644
--- a/libarchive/CMakeLists.txt
+++ b/libarchive/CMakeLists.txt
@@ -174,51 +174,6 @@ SET(libarchive_SOURCES
xxhash.c
)
-# Man pages
-SET(libarchive_MANS
- archive_entry.3
- archive_entry_acl.3
- archive_entry_linkify.3
- archive_entry_misc.3
- archive_entry_paths.3
- archive_entry_perms.3
- archive_entry_stat.3
- archive_entry_time.3
- archive_read.3
- archive_read_add_passphrase.3
- archive_read_data.3
- archive_read_disk.3
- archive_read_extract.3
- archive_read_filter.3
- archive_read_format.3
- archive_read_free.3
- archive_read_header.3
- archive_read_new.3
- archive_read_open.3
- archive_read_set_options.3
- archive_util.3
- archive_write.3
- archive_write_blocksize.3
- archive_write_data.3
- archive_write_disk.3
- archive_write_filter.3
- archive_write_finish_entry.3
- archive_write_format.3
- archive_write_free.3
- archive_write_header.3
- archive_write_new.3
- archive_write_open.3
- archive_write_set_options.3
- archive_write_set_passphrase.3
- cpio.5
- libarchive.3
- libarchive_changes.3
- libarchive_internals.3
- libarchive-formats.5
- mtree.5
- tar.5
-)
-
IF(WIN32 AND NOT CYGWIN)
LIST(APPEND libarchive_SOURCES archive_entry_copy_bhfi.c)
LIST(APPEND libarchive_SOURCES archive_read_disk_windows.c)
@@ -282,8 +237,5 @@ IF(ENABLE_INSTALL)
RUNTIME DESTINATION bin
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
- INSTALL_MAN(${libarchive_MANS})
INSTALL(FILES ${include_HEADERS} DESTINATION include)
ENDIF()
-
-add_subdirectory(test)