Revision: 42134
          http://brlcad.svn.sourceforge.net/brlcad/?rev=42134&view=rev
Author:   starseeker
Date:     2011-01-12 05:50:00 +0000 (Wed, 12 Jan 2011)

Log Message:
-----------
Tcl link workaround isn't working for make package - need to re-examine.

Modified Paths:
--------------
    brlcad/branches/cmake/src/other/tcl/CMakeLists.txt

Modified: brlcad/branches/cmake/src/other/tcl/CMakeLists.txt
===================================================================
--- brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2011-01-12 05:35:35 UTC 
(rev 42133)
+++ brlcad/branches/cmake/src/other/tcl/CMakeLists.txt  2011-01-12 05:50:00 UTC 
(rev 42134)
@@ -735,7 +735,9 @@
 target_link_libraries(tclsh tcl ${EXTRA_TCLSH_LIBS})
 install(TARGETS tclsh DESTINATION bin)
 # Regrettably, setting the VERSION variable on the tclsh target produces a 
symlink with a dash (which is a sensible default but
-# inconsistent with standard tcl practice) and I don't see how to alter that.  
This is the workaround.
+# inconsistent with standard tcl practice) and I don't see how to alter that.
+# This is the workaround.  Note that this fails for make package - needs
+# fixing.
 GET_FILENAME_COMPONENT(TCLSH_INSTALL_NAME ${CMAKE_INSTALL_PREFIX}/bin/tclsh 
ABSOLUTE)
 FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/tclsh_make_symlink.cmake 
"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${TCLSH_INSTALL_NAME} 
${TCLSH_INSTALL_NAME}${TCL_VERSION_MAJOR}.${TCL_VERSION_MINOR})")
 set_target_properties(tclsh PROPERTIES POST_INSTALL_SCRIPT 
${CMAKE_BINARY_DIR}/CMakeTmp/tclsh_make_symlink.cmake) 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to