diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-14 21:41:53 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-14 21:41:53 +1100 |
commit | 662b83ff92cc2316fb962ff1608359f6d705a5f0 (patch) | |
tree | d0e7d15887ed14bd252e6e61888710c8bac2200a /source/CMakeLists.txt | |
parent | 8164e5ae6fa33c9ec2a14f107585a7cbe7fbf813 (diff) |
Initial commit of experimental zstd network compression
currently a bit buggy
Diffstat (limited to 'source/CMakeLists.txt')
-rw-r--r-- | source/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 6ed5bb5..526d956 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -443,6 +443,7 @@ find_package(PNG REQUIRED) find_package(Freetype REQUIRED) find_package(Opus CONFIG REQUIRED) find_package(OggVorbis REQUIRED) +find_package(zstd CONFIG REQUIRED) include_directories(SYSTEM ${FREETYPE_INCLUDE_DIRS} @@ -453,6 +454,7 @@ set(STAR_EXT_LIBS ${STAR_EXT_LIBS} ZLIB::ZLIB PNG::PNG $<IF:$<TARGET_EXISTS:Freetype::Freetype>,Freetype::Freetype,freetype> + $<IF:$<TARGET_EXISTS:zstd::libzstd_shared>,zstd::libzstd_shared,zstd::libzstd_static> Opus::opus ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} |