Revision: 53813
          http://brlcad.svn.sourceforge.net/brlcad/?rev=53813&view=rev
Author:   brlcad
Date:     2012-11-26 07:47:43 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
quote the strings.  if they're empty, cmake dumps an error.

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2012-11-25 05:26:15 UTC (rev 53812)
+++ brlcad/trunk/CMakeLists.txt 2012-11-26 07:47:43 UTC (rev 53813)
@@ -2278,12 +2278,12 @@
     ${CMAKE_BINARY_DIR}/CMakeTmp/timedelta_end.c
     OUTPUT_VARIABLE COMPILEMESSAGES)
   file(READ ${DELTA_END} CONFIG_TIME_MSG)
-  string(STRIP ${CONFIG_TIME_MSG} CONFIG_TIME_MSG)
+  string(STRIP "${CONFIG_TIME_MSG}" CONFIG_TIME_MSG)
   set(CONFIG_TIME_MSG_LABEL "Elapsed configuration time")
-  string(LENGTH ${CONFIG_TIME_MSG_LABEL} CURRENTLENGTH)
+  string(LENGTH "${CONFIG_TIME_MSG_LABEL}" CURRENTLENGTH)
   while(${SETTINGLABELLENGTH} GREATER ${CURRENTLENGTH})
     set(CONFIG_TIME_MSG_LABEL "${CONFIG_TIME_MSG_LABEL}.")
-    string(LENGTH ${CONFIG_TIME_MSG_LABEL} CURRENTLENGTH)
+    string(LENGTH "${CONFIG_TIME_MSG_LABEL}" CURRENTLENGTH)
   endwhile(${SETTINGLABELLENGTH} GREATER ${CURRENTLENGTH})
   message("${CONFIG_TIME_MSG_LABEL}..: ${CONFIG_TIME_MSG}")
 endif(NOT BRLCAD_IS_SUBBUILD)

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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to