[cgma-dev] r4119 - cgm/trunk/itaps

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Sep 2 12:41:39 CDT 2010


Author: kraftche
Date: 2010-09-02 12:41:39 -0500 (Thu, 02 Sep 2010)
New Revision: 4119

Modified:
   cgm/trunk/itaps/Makefile.am
Log:
fix broken parallel build

Modified: cgm/trunk/itaps/Makefile.am
===================================================================
--- cgm/trunk/itaps/Makefile.am	2010-09-02 13:27:46 UTC (rev 4118)
+++ cgm/trunk/itaps/Makefile.am	2010-09-02 17:41:39 UTC (rev 4119)
@@ -34,6 +34,10 @@
                -I$(top_srcdir)/geom \
 	       -I$(top_srcdir)/init
 
+if USE_MPI
+  AM_CPPFLAGS += -I$(top_srcdir)/geom/parallel -DUSE_MPI
+endif
+
 libiGeom_la_SOURCES = \
         CGMAIterator.hpp \
         CATag.hpp \
@@ -61,10 +65,9 @@
 chaman_SOURCES = chaman.cc
 
 if USE_MPI
-check_PROGRAMS += partest
-partest_SOURCES = partest.cpp
-partest_CPPFLAGS = $(testgeom_occ_CPPFLAGS)
-AM_CPPFLAGS += -I$(top_srcdir)/geom/parallel
+  check_PROGRAMS += partest
+  partest_SOURCES = partest.cpp
+  partest_CPPFLAGS = $(testgeom_occ_CPPFLAGS)
 endif
 
 
























More information about the cgma-dev mailing list