Revision: 44591
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44591&view=rev
Author:   erikgreenwald
Date:     2011-05-09 20:17:03 +0000 (Mon, 09 May 2011)

Log Message:
-----------
fix path info for pkgIndex.tcl

Modified Paths:
--------------
    brlcad/trunk/src/adrt/CMakeLists.txt

Modified: brlcad/trunk/src/adrt/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/adrt/CMakeLists.txt        2011-05-09 20:14:49 UTC (rev 
44590)
+++ brlcad/trunk/src/adrt/CMakeLists.txt        2011-05-09 20:17:03 UTC (rev 
44591)
@@ -83,9 +83,9 @@
        INSTALL(TARGETS issttcltk DESTINATION 
${${CMAKE_PROJECT_NAME}_INSTALL_LIB_DIR}/isst0.1)
        GET_TARGET_PROPERTY(ISSTTCL_LIBLOCATION issttcltk 
LOCATION_${CMAKE_BUILD_TYPE})
        GET_FILENAME_COMPONENT(ISSTTCL_LIBNAME ${ISSTTCL_LIBLOCATION} NAME)
-       FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl "package ifneeded 
isst      0.1 [list load [file join $dir .. .. ${LIB_DIR} ${ISSTTCL_LIBNAME}]]")
+       FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl "package ifneeded 
isst      0.1 [list load [file join $dir .. .. ${LIB_DIR} isst0.1 
${ISSTTCL_LIBNAME}]]")
        install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl DESTINATION 
lib/isst0.1)
-       FILE(WRITE ${CMAKE_BINARY_DIR}/lib/isst0.1/pkgIndex.tcl "package 
ifneeded isst 0.1 [list load [file join $dir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} 
${ISSTTCL_LIBNAME}] isst]")
+       FILE(WRITE ${CMAKE_BINARY_DIR}/lib/isst0.1/pkgIndex.tcl "package 
ifneeded isst 0.1 [list load [file join $dir ${ISSTTCL_LIBLOCATION} isst0.1 
${ISSTTCL_LIBNAME}] isst]")
        # TODO - need to make this configure line into a real target ala
        # BRLCAD_ADDDATA in order for the build dir copy to be updated when it
    # is changed.       


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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to