mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-23 10:15:21 +01:00
Update dependencies libarchive/zlib/liblzma/zstd
Update various bundled dependencies to handle archive formats. (Only used on Windows and OSX. On Linux system libraries are used)
This commit is contained in:
parent
ed15fcda46
commit
50b017332f
2353 changed files with 70571 additions and 33209 deletions
37
src/dependencies/libarchive-3.6.2/cat/CMakeLists.txt
Normal file
37
src/dependencies/libarchive-3.6.2/cat/CMakeLists.txt
Normal file
|
@ -0,0 +1,37 @@
|
|||
############################################
|
||||
#
|
||||
# How to build bsdcat
|
||||
#
|
||||
############################################
|
||||
IF(ENABLE_CAT)
|
||||
|
||||
SET(bsdcat_SOURCES
|
||||
bsdcat.c
|
||||
bsdcat.h
|
||||
bsdcat_platform.h
|
||||
cmdline.c
|
||||
../libarchive_fe/err.c
|
||||
../libarchive_fe/err.h
|
||||
../libarchive_fe/lafe_platform.h
|
||||
)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../libarchive_fe)
|
||||
|
||||
# bsdcat documentation
|
||||
SET(bsdcat_MANS bsdcat.1)
|
||||
|
||||
# How to build bsdcat
|
||||
ADD_EXECUTABLE(bsdcat ${bsdcat_SOURCES})
|
||||
IF(ENABLE_CAT_SHARED)
|
||||
TARGET_LINK_LIBRARIES(bsdcat archive ${ADDITIONAL_LIBS})
|
||||
ELSE(ENABLE_CAT_SHARED)
|
||||
TARGET_LINK_LIBRARIES(bsdcat archive_static ${ADDITIONAL_LIBS})
|
||||
SET_TARGET_PROPERTIES(bsdcat PROPERTIES COMPILE_DEFINITIONS
|
||||
LIBARCHIVE_STATIC)
|
||||
ENDIF(ENABLE_CAT_SHARED)
|
||||
|
||||
# Installation rules
|
||||
INSTALL(TARGETS bsdcat RUNTIME DESTINATION bin)
|
||||
INSTALL_MAN(${bsdcat_MANS})
|
||||
ENDIF(ENABLE_CAT)
|
||||
|
||||
add_subdirectory(test)
|
Loading…
Add table
Add a link
Reference in a new issue