From 9eb4888df7fc7e02e364622878f332fc103ca919 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sun, 24 Sep 2017 11:04:55 -0400 Subject: externals: Add lz4. --- externals/CMakeLists.txt | 5 +++++ externals/lz4 | 1 + 2 files changed, 6 insertions(+) create mode 160000 externals/lz4 (limited to 'externals') diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 8e4bcf21f..b809d76d8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -28,6 +28,11 @@ add_subdirectory(glad) # inih add_subdirectory(inih) +# lz4 +set(LZ4_BUNDLED_MODE ON) +add_subdirectory(lz4/contrib/cmake_unofficial) +target_include_directories(lz4_static INTERFACE ./lz4/lib) + # MicroProfile add_library(microprofile INTERFACE) target_include_directories(microprofile INTERFACE ./microprofile) diff --git a/externals/lz4 b/externals/lz4 new file mode 160000 index 000000000..c10863b98 --- /dev/null +++ b/externals/lz4 @@ -0,0 +1 @@ +Subproject commit c10863b98e1503af90616ae99725ecd120265dfb -- cgit v1.2.3