blob: f38e06695a071458b4f50a9e8a3705fedad223a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
From 6a0046c523a67b4d21d856ea73861c00b5a9c9fd Mon Sep 17 00:00:00 2001
From: Anuj Mittal <anuj.mittal@intel.com>
Date: Mon, 19 Oct 2020 23:29:23 +0800
Subject: [PATCH] demos: use gflags from meta-oe
Upstream-Status: Inappropriate
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
demos/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/demos/CMakeLists.txt b/demos/CMakeLists.txt
index c5e3b1ec3..4e78c72a6 100644
--- a/demos/CMakeLists.txt
+++ b/demos/CMakeLists.txt
@@ -62,11 +62,11 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
####################################
-set(GFLAGS_IS_SUBPROJECT TRUE)
+set(GFLAGS_IS_SUBPROJECT FALSE)
set(HAVE_SYS_STAT_H 1)
set(HAVE_INTTYPES_H 1)
-add_subdirectory(thirdparty/gflags)
+#add_subdirectory(thirdparty/gflags)
if(CMAKE_CXX_COMPILER_ID MATCHES "^GNU|(Apple)?Clang$")
set(COMPILER_IS_GCC_LIKE TRUE)
--
2.29.0
|