diff --git a/pm3rdv4rrg/src/main/cpp/cmake/bzip2.cmake b/pm3rdv4rrg/src/main/cpp/cmake/bzip2.cmake new file mode 100644 index 00000000..22b08bd0 --- /dev/null +++ b/pm3rdv4rrg/src/main/cpp/cmake/bzip2.cmake @@ -0,0 +1,13 @@ +get_filename_component(BZIP2_ROOT bzip2 ABSOLUTE) + +add_library(pm3rrg_rdv4_bzip2 STATIC + ${BZIP2_ROOT}/blocksort.c + ${BZIP2_ROOT}/bzlib.c + ${BZIP2_ROOT}/compress.c + ${BZIP2_ROOT}/crctable.c + ${BZIP2_ROOT}/decompress.c + ${BZIP2_ROOT}/huffman.c + ${BZIP2_ROOT}/randtable.c + ) + +target_include_directories(pm3rrg_rdv4_bzip2 INTERFACE bzip2)