Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 6369a5be2af2ed1fa443f40f48deaf318d22713e 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 3/4] 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 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 | -- |
| 27 | 2.7.4 |
| 28 | |