2013-10-12 04:24:04 +00:00
|
|
|
make_release_only()
|
|
|
|
|
2015-12-31 15:23:54 +00:00
|
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_7ZIP_PPMD_SUPPPORT" )
|
|
|
|
|
2021-11-27 14:26:07 +00:00
|
|
|
find_package(Threads)
|
|
|
|
|
|
|
|
add_library( lzma STATIC
|
2015-12-31 15:23:54 +00:00
|
|
|
C/7zArcIn.c
|
2009-04-15 03:58:10 +00:00
|
|
|
C/7zBuf.c
|
|
|
|
C/7zCrc.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/7zCrcOpt.c
|
|
|
|
C/7zDec.c
|
2009-04-15 03:58:10 +00:00
|
|
|
C/7zStream.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/Bcj2.c
|
|
|
|
C/Bra.c
|
|
|
|
C/Bra86.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/BraIA64.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/CpuArch.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/Delta.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/LzFind.c
|
2021-11-27 14:26:07 +00:00
|
|
|
C/LzFindMt.c
|
|
|
|
C/LzFindOpt.c
|
2014-04-27 10:05:40 +00:00
|
|
|
C/Lzma2Dec.c
|
|
|
|
C/LzmaDec.c
|
2015-12-31 15:23:54 +00:00
|
|
|
C/LzmaEnc.c
|
|
|
|
C/Ppmd7.c
|
2021-11-27 14:26:07 +00:00
|
|
|
C/Ppmd7Dec.c
|
|
|
|
C/Threads.c
|
|
|
|
)
|
|
|
|
target_link_libraries( lzma Threads::Threads )
|