blob: cfb84ac14112ab7c53d3a2fb1ee1ff5f776a898a [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 20 Jul 2017 05:06:00 -0400
4Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 CMakeLists.txt | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index fb72a00..5732dc8 100644
15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt
17@@ -246,6 +246,8 @@ if(UNIX AND NOT APPLE)
18 endif()
19 endif()
20
21+set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg)
22+
23 # Check for GNUTLS library
24 option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON)
25 if(ENABLE_GNUTLS)
26--
272.7.4
28