raze/libraries/lzma/CMakeLists.txt

31 lines
441 B
Text
Raw Normal View History

make_release_only()
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_7ZIP_PPMD_SUPPPORT" )
2022-07-02 07:58:48 +00:00
find_package(Threads)
add_library( lzma STATIC
C/7zArcIn.c
C/7zBuf.c
C/7zCrc.c
C/7zCrcOpt.c
C/7zDec.c
C/7zStream.c
C/Bcj2.c
C/Bra.c
C/Bra86.c
C/BraIA64.c
C/CpuArch.c
C/Delta.c
C/LzFind.c
2022-07-02 07:58:48 +00:00
C/LzFindMt.c
C/LzFindOpt.c
C/Lzma2Dec.c
C/LzmaDec.c
C/LzmaEnc.c
C/Ppmd7.c
2022-07-02 07:58:48 +00:00
C/Ppmd7Dec.c
C/Threads.c
)
target_link_libraries( lzma Threads::Threads )