From: <and...@us...> - 2012-08-21 11:44:38
|
Revision: 12220 http://plplot.svn.sourceforge.net/plplot/?rev=12220&view=rev Author: andrewross Date: 2012-08-21 11:44:32 +0000 (Tue, 21 Aug 2012) Log Message: ----------- Add X11_LIBRARIES to the link flags for tkwin driver since it explicitly uses functions from the X11 library. Modified Paths: -------------- trunk/cmake/modules/tk.cmake Modified: trunk/cmake/modules/tk.cmake =================================================================== --- trunk/cmake/modules/tk.cmake 2012-08-21 08:23:50 UTC (rev 12219) +++ trunk/cmake/modules/tk.cmake 2012-08-21 11:44:32 UTC (rev 12220) @@ -107,7 +107,7 @@ set(tkwin_COMPILE_FLAGS "-I${TCL_INCLUDE_PATH} ${TKLIB_COMPILE_FLAGS} -I\"${CMAKE_SOURCE_DIR}\"/bindings/tcl -I\"${CMAKE_BINARY_DIR}\"/bindings/tcl -I\"${CMAKE_SOURCE_DIR}\"/bindings/tk-x-plat -I\"${CMAKE_SOURCE_DIR}\"/bindings/tk" ) - set(tkwin_LINK_FLAGS plplottcltk${LIB_TAG} ${TCL_LIBRARY} ${TK_LIBRARY}) + set(tkwin_LINK_FLAGS plplottcltk${LIB_TAG} ${TCL_LIBRARY} ${TK_LIBRARY} ${X11_LIBRARIES}) set(DRIVERS_LINK_FLAGS ${DRIVERS_LINK_FLAGS} ${TCL_LIBRARY} ${TK_LIBRARY}) set( tkwin_SOURCE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |