mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
16 lines
420 B
CMake
16 lines
420 B
CMake
cmake_policy(SET CMP0077 NEW)
|
|
|
|
SET(ENABLE_LIB_ONLY ON)
|
|
SET(ENABLE_STATIC_LIB ON)
|
|
|
|
add_subdirectory(bzip2)
|
|
include(lzip.cmake)
|
|
|
|
set(LZFSE_BUNDLE_MODE ON)
|
|
add_subdirectory(lzfse)
|
|
|
|
set(ZSTD_BUILD_PROGRAMS OFF)
|
|
set(ZSTD_BUILD_SHARED OFF)
|
|
set(ZSTD_MULTITHREAD_SUPPORT OFF) # Not really sure if it works properly
|
|
set(ZSTD_LEGACY_SUPPORT ON) # Unsure if may ever be needed, just in case
|
|
add_subdirectory(zstd-1.5.0/build/cmake) |