Revision: 40635
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40635&view=rev
Author:   davidloman
Date:     2010-09-21 16:44:32 +0000 (Tue, 21 Sep 2010)

Log Message:
-----------
Make the regex replace look for '/bin' rather than 'bin' since replace 'bin' 
will replace '/sbin' with '/sinclude'

Modified Paths:
--------------
    rt^3/trunk/cmake/FindBRLCAD.cmake

Modified: rt^3/trunk/cmake/FindBRLCAD.cmake
===================================================================
--- rt^3/trunk/cmake/FindBRLCAD.cmake   2010-09-21 16:28:25 UTC (rev 40634)
+++ rt^3/trunk/cmake/FindBRLCAD.cmake   2010-09-21 16:44:32 UTC (rev 40635)
@@ -62,7 +62,7 @@
     SET(HEADERS_TO_SEARCH_FOR brlcad/bu.h bu.h opennurbs.h )
    
         SET(INCLUDE_PATH_LIST "$ENV{PATH}")
-        STRING(REGEX REPLACE "bin" "include" INCLUDE_PATH_LIST 
"${INCLUDE_PATH_LIST}") 
+        STRING(REGEX REPLACE "/bin" "/include" INCLUDE_PATH_LIST 
"${INCLUDE_PATH_LIST}")       
         STRING(REGEX REPLACE ":" ";" INCLUDE_PATH_LIST "${INCLUDE_PATH_LIST}") 
 
 
     FOREACH (tHead ${HEADERS_TO_SEARCH_FOR})


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to