diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-07 18:40:49 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-07 18:40:52 -0400 |
commit | e530f82dd384d99aa2523721a673ea8fd7351583 (patch) | |
tree | bbde0b36bcf509f321bea10b8fd9d4dc568defa2 /externals | |
parent | b9829a05bec6118b3ba96b3fc1de06a7215b3f3d (diff) |
externals/CMakeLists: Add EXCLUDE_FROM_ALL to lz4's add_subdirectory() command
We don't need to build the lz4 CLI tool, or anything else. We just want
to build in the library statically, so we specify this to ensure that.
Now, we don't potentially build unnecessary targets.
Diffstat (limited to 'externals')
-rw-r--r-- | externals/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index db21f3d50..b6eb36f20 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -32,7 +32,7 @@ add_subdirectory(inih) # lz4 set(LZ4_BUNDLED_MODE ON) -add_subdirectory(lz4/contrib/cmake_unofficial) +add_subdirectory(lz4/contrib/cmake_unofficial EXCLUDE_FROM_ALL) target_include_directories(lz4_static INTERFACE ./lz4/lib) # mbedtls |