summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-01-09 10:30:26 +0100
committerPierre Ossman <ossman@cendio.se>2019-01-09 10:30:26 +0100
commit18ba39cb710f3d97745dfb6a5150f99c41ad3bf0 (patch)
treede8621082e748db887cac16c2440d0e0cdb0c894 /cmake
parent28a62f4b1d3de3f899eaf2e70f170dac519e9c8b (diff)
downloadtigervnc-18ba39cb710f3d97745dfb6a5150f99c41ad3bf0.tar.gz
tigervnc-18ba39cb710f3d97745dfb6a5150f99c41ad3bf0.zip
Include libuuid in static builds
Modern fontconfig needs it, so make sure it is included.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/StaticBuild.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake
index a9943098..38177a1c 100644
--- a/cmake/StaticBuild.cmake
+++ b/cmake/StaticBuild.cmake
@@ -88,7 +88,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 -lpng -lbz2 -lXrender -lXext -lXinerama -Wl,-Bdynamic")
+ set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -Wl,-Bstatic -lXcursor -lXfixes -lXft -lfontconfig -lexpat -lfreetype -lpng -lbz2 -luuid -lXrender -lXext -lXinerama -Wl,-Bdynamic")
endif()
set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -lX11")