Revision: 41449
http://brlcad.svn.sourceforge.net/brlcad/?rev=41449&view=rev
Author: starseeker
Date: 2010-11-23 19:22:50 +0000 (Tue, 23 Nov 2010)
Log Message:
-----------
Need to strip the newline off for the define
Modified Paths:
--------------
brlcad/branches/cmake/src/other/CMakeLists.txt
Modified: brlcad/branches/cmake/src/other/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/CMakeLists.txt 2010-11-23 19:16:51 UTC
(rev 41448)
+++ brlcad/branches/cmake/src/other/CMakeLists.txt 2010-11-23 19:22:50 UTC
(rev 41449)
@@ -118,7 +118,8 @@
SET(autopath_scriptfile "${CMAKE_BINARY_DIR}/CMakeTmp/tcl_autopath.tcl")
FILE(WRITE ${autopath_scriptfile} ${autopath_script})
EXEC_PROGRAM(${TCL_TCLSH} ARGS ${autopath_scriptfile} OUTPUT_VARIABLE
EXECOUTPUT)
- FILE(READ ${CMAKE_BINARY_DIR}/CMakeTmp/tcl_autopath tcl_autopath)
+ FILE(READ ${CMAKE_BINARY_DIR}/CMakeTmp/tcl_autopath tcl_autopath_raw)
+ STRING(REGEX REPLACE "\n" "" tcl_autopath ${tcl_autopath_raw})
FILE(APPEND ${CONFIG_H_FILE} "#define TCL_SYSTEM_AUTO_PATH
\"${tcl_autopath}\"\n")
ENDIF(BRLCAD_BUILD_LOCAL_TCL OR BRLCAD-ENABLE_ALL_LOCAL_LIBS)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits