From 74ade26f7ccd0dbc4ad97cb3082204118a67c92b Mon Sep 17 00:00:00 2001
From: Yi Zhao <yi.zhao@windriver.com>
Date: Thu, 10 Sep 2020 15:12:41 +0800
Subject: [PATCH] cmake/BundledOSSPUUID.cmake: use ossp-uuid local source
 tarball

Do not download ossp-uuid source during compile.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 cmake/BundledOSSPUUID.cmake | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake
index 1103156d..0cf4bac0 100644
--- a/cmake/BundledOSSPUUID.cmake
+++ b/cmake/BundledOSSPUUID.cmake
@@ -47,10 +47,8 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR)
 
     ExternalProject_Add(
             ossp-uuid-external
-            URL "https://deb.debian.org/debian/pool/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz"
-            URL_HASH "SHA256=11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0"
             BUILD_IN_SOURCE true
-            SOURCE_DIR "${BINARY_DIR}/thirdparty/ossp-uuid-src"
+            SOURCE_DIR "${SOURCE_DIR}/thirdparty/uuid-1.6.2"
             BUILD_COMMAND make
             CMAKE_COMMAND ""
             UPDATE_COMMAND ""
-- 
2.17.1

