diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-08-24 11:28:33 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-08-24 11:28:33 +0200 |
commit | 82e753d4e1928342c82cc7b82e854aa2666d1145 (patch) | |
tree | a647309aaeb802810cf688703bbca3f472880c75 /cmake | |
parent | 324043eba6decc6d1b73c453299f5dab27f41621 (diff) | |
download | tigervnc-82e753d4e1928342c82cc7b82e854aa2666d1145.tar.gz tigervnc-82e753d4e1928342c82cc7b82e854aa2666d1145.zip |
Add libpng as a dependency for freetype for static builds
Newer versions of Freetype requires libpng as well.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/StaticBuild.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake index 6db0e14b..06883c6f 100644 --- a/cmake/StaticBuild.cmake +++ b/cmake/StaticBuild.cmake @@ -91,7 +91,7 @@ if(BUILD_STATIC) if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS") set(FLTK_LIBRARIES "${FLTK_LIBRARIES} ${X11_Xcursor_LIB} ${X11_Xfixes_LIB} -Wl,-Bstatic -lXft -Wl,-Bdynamic -lfontconfig -lXrender -lXext -R/usr/sfw/lib -L=/usr/sfw/lib -lfreetype -lsocket -lnsl") else() - set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -Wl,-Bstatic -lXcursor -lXfixes -lXft -lfontconfig -lexpat -lfreetype -lbz2 -lXrender -lXext -lXinerama -Wl,-Bdynamic") + set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -Wl,-Bstatic -lXcursor -lXfixes -lXft -lfontconfig -lexpat -lfreetype -lpng -lbz2 -lXrender -lXext -lXinerama -Wl,-Bdynamic") endif() set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -lX11") |