blob: 650da73e05612b0b6e424c46c0c4d469dab27afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/cmake/StaticBuild.cmake 2014-10-29 20:23:24.000000000 -0400
+++ b/cmake/StaticBuild.cmake 2014-10-29 20:24:05.000000000 -0400
@@ -68,7 +68,7 @@
endif()
if(FLTK_FOUND)
- set(FLTK_LIBRARIES "-Wl,-Bstatic -lfltk_images -lpng -ljpeg -lfltk -Wl,-Bdynamic")
+ set(FLTK_LIBRARIES "-Wl,-Bstatic -L${FLTK_LIBRARY_DIR} -lfltk_images -lpng -ljpeg -lfltk -Wl,-Bdynamic")
if(WIN32)
set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -lcomctl32")
--- a/vncviewer/CMakeLists.txt 2014-10-29 20:39:58.000000000 -0400
+++ b/vncviewer/CMakeLists.txt 2014-10-29 21:01:31.000000000 -0400
@@ -46,7 +46,7 @@
add_executable(vncviewer ${VNCVIEWER_SOURCES})
endif()
-target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES})
+target_link_libraries(vncviewer ${FLTK_LIBRARIES} rfb network rdr os Xregion ${X11_Xdmcp_LIB} ${X11_Xau_LIB} ${GETTEXT_LIBRARIES})
if(APPLE)
target_link_libraries(vncviewer "-framework Cocoa" "-framework Carbon")
|