Revision: 69001
          http://sourceforge.net/p/brlcad/code/69001
Author:   brlcad
Date:     2016-10-06 09:51:55 +0000 (Thu, 06 Oct 2016)
Log Message:
-----------
older versions of cmake (2.8ish) don't seem to handle empty STREQUAL tests very 
well.  employ an old shell trick.

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

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2016-10-06 03:40:16 UTC (rev 69000)
+++ brlcad/trunk/CMakeLists.txt 2016-10-06 09:51:55 UTC (rev 69001)
@@ -555,9 +555,9 @@
     set(idx 0)
     set(matches)
     foreach (ARG IN LISTS ARGV)
-      if ("${ARG}" STREQUAL "")
+      if ("x${ARG}" STREQUAL "x")
        list(APPEND matches ${idx})
-      endif ("${ARG}" STREQUAL "")
+      endif ("x${ARG}" STREQUAL "x")
       math(EXPR idx "${idx} + 1")
     endforeach()
 

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to