aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/lzmasdk/CMakeLists.txt
blob: 1462568f4a191220b6b69031a249b59c21250e07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
add_library(contrib-libs-lzmasdk)
target_compile_options(contrib-libs-lzmasdk PRIVATE
  -D_7ZIP_ST=1
)
target_link_libraries(contrib-libs-lzmasdk PUBLIC
  contrib-libs-cxxsupp
)
target_sources(contrib-libs-lzmasdk PRIVATE
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/7zStream.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Aes.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/AesOpt.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Alloc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Bra.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Bra86.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/BraIA64.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/CpuArch.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/LzFind.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Lzma2Dec.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Lzma2Enc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaDec.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaEnc.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/LzmaLib.c
  ${CMAKE_SOURCE_DIR}/contrib/libs/lzmasdk/Sha256.c
)