From: <ai...@us...> - 2010-01-02 03:23:21
|
Revision: 10732 http://plplot.svn.sourceforge.net/plplot/?rev=10732&view=rev Author: airwin Date: 2010-01-02 03:23:14 +0000 (Sat, 02 Jan 2010) Log Message: ----------- Allow tk and tkwin device drivers to build if there are embedded blanks in the source or build tree directory prefixes. Modified Paths: -------------- trunk/cmake/modules/tk.cmake Modified: trunk/cmake/modules/tk.cmake =================================================================== --- trunk/cmake/modules/tk.cmake 2009-12-28 17:41:45 UTC (rev 10731) +++ trunk/cmake/modules/tk.cmake 2010-01-02 03:23:14 UTC (rev 10732) @@ -59,7 +59,7 @@ if(PLD_tk) set(tk_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" + "-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" ) set(tk_LINK_FLAGS plplottcltk${LIB_TAG} ${TCL_LIBRARY} ${TK_LIBRARY}) set(DRIVERS_LINK_FLAGS ${DRIVERS_LINK_FLAGS} ${TCL_LIBRARY} ${TK_LIBRARY}) @@ -105,7 +105,7 @@ if(PLD_tkwin) 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" + "-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(DRIVERS_LINK_FLAGS ${DRIVERS_LINK_FLAGS} ${TCL_LIBRARY} ${TK_LIBRARY}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |