diff options
Diffstat (limited to 'meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch')
-rw-r--r-- | meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch new file mode 100644 index 0000000000..101adaa82f --- /dev/null +++ b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 4c7658b43f903599608c1fea4fbd7e37dc117119 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Thu, 20 Jul 2017 05:06:00 -0400 | ||
4 | Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
9 | --- | ||
10 | CMakeLists.txt | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
14 | index 80c2762c..eb581600 100644 | ||
15 | --- a/CMakeLists.txt | ||
16 | +++ b/CMakeLists.txt | ||
17 | @@ -315,6 +315,8 @@ if(BUILD_VIEWER) | ||
18 | set(CMAKE_REQUIRED_LIBRARIES) | ||
19 | endif() | ||
20 | |||
21 | +set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg) | ||
22 | + | ||
23 | # Check for GNUTLS library | ||
24 | trioption(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication") | ||
25 | if(ENABLE_GNUTLS) | ||
26 | -- | ||
27 | 2.25.1 | ||
28 | |||