[Paraview] [PATCH] CMake FOREACH syntax

Moreland, Kenneth kmorel at sandia.gov
Mon Jan 11 11:21:08 EST 2010


Hehehehe.  Oops.  Thanks for pointing this out.  The fixed code should be in CVS now.

-Ken


On 1/9/10 11:38 AM, "Jed Brown" <jed at 59A2.org> wrote:

Index: Utilities/IceT/src/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Utilities/IceT/src/CMakeLists.txt,v
retrieving revision 1.8
diff -u -r1.8 CMakeLists.txt
--- Utilities/IceT/src/CMakeLists.txt   3 Jun 2009 15:46:18 -0000       1.8
+++ Utilities/IceT/src/CMakeLists.txt   9 Jan 2010 18:26:40 -0000
@@ -18,18 +18,18 @@
       "${CMAKE_CURRENT_SOURCE_DIR}/communication"
       "${CMAKE_CURRENT_SOURCE_DIR}/strategies")
   SET(filesToInstall)
-  FOREACH(p IN ${resPath})
+  FOREACH(p ${resPath})
       SET(tmpFilesToInstall)
       SET(exts "${p}/*.h;${p}/*.hxx;${p}/*.txx")
-      FOREACH(ext IN ${exts})
+      FOREACH(ext ${exts})
           FILE(GLOB tmpFilesToInstall
           RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
           "${ext}")
           IF(tmpFilesToInstall)
               SET(filesToInstall "${filesToInstall};${tmpFilesToInstall}")
           ENDIF(tmpFilesToInstall)
-      ENDFOREACH(ext IN ${exts})
-  ENDFOREACH(p IN ${resPath})
+      ENDFOREACH(ext ${exts})
+  ENDFOREACH(p ${resPath})
   INSTALL(
       FILES ${filesToInstall}
       DESTINATION "${ICET_INSTALL_INCLUDE_DIR}/ice-t"
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100111/aeeca3a1/attachment.htm>


More information about the ParaView mailing list