 
 Signed-off-by: Martin Jansa <martin.jansa@lge.com>
 ---
- CMakeLists.txt | 43 ++++---------------------------------------
- 1 file changed, 4 insertions(+), 39 deletions(-)
+ CMakeLists.txt | 48 ++++--------------------------------------------
+ 1 file changed, 4 insertions(+), 44 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d614cac5..bd46aac5 100644
+index a2eef49d..78efbc22 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -9,49 +9,14 @@ option(FORCE_BUILD_VENDOR_PKG
+@@ -9,54 +9,14 @@ option(FORCE_BUILD_VENDOR_PKG
    OFF)
  
  if(NOT FORCE_BUILD_VENDOR_PKG)

From eb740a39bcd110753d047c714e6196fb4e0f0b21 Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@lge.com>
Date: Fri, 5 Jun 2020 11:35:25 -0700
Subject: [PATCH] CMakeLists.txt: prevent building zstd with ExternalProject

-      -DZSTD_BUILD_STATIC=OFF
-      -DZSTD_BUILD_SHARED=ON
-      -DZSTD_BUILD_PROGRAMS=OFF
-      ${extra_cmake_args}
-    # Note: zstd v1.4.6 will include the following fix. When that is released, upgrade and remove this patch.
-    PATCH_COMMAND
-      patch -p1 -d . < ${CMAKE_CURRENT_SOURCE_DIR}/cmake_minimum_required_2.8.12.patch &&
-      patch -p1 -d . < ${CMAKE_CURRENT_SOURCE_DIR}/no_internal_headers.patch
-  )
-
-  install(
-    DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_install/
