From dd60ff11fe93158a7ab4448689340248ba612a0e Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 7 Aug 2018 18:40:49 -0400 Subject: [PATCH] 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. --- externals/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index db21f3d50f..b6eb36f20e 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