[MOAB-dev] r2708 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Mar 12 16:29:50 CDT 2009


Author: kraftche
Date: 2009-03-12 16:29:50 -0500 (Thu, 12 Mar 2009)
New Revision: 2708

Modified:
   MOAB/trunk/MBReaderWriterSet.cpp
Log:
fix build w/out CGM

Modified: MOAB/trunk/MBReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/MBReaderWriterSet.cpp	2009-03-12 21:26:05 UTC (rev 2707)
+++ MOAB/trunk/MBReaderWriterSet.cpp	2009-03-12 21:29:50 UTC (rev 2708)
@@ -81,9 +81,11 @@
   
   register_factory( Tqdcfr::factory, NULL, "Cubit", "cub", "CUBIT" );
 
+#ifdef CGM
   const char* cgm_sufxs[] = {"stp", "step", "brep", "occ", "sat" };
   register_factory( ReadCGM::factory, NULL, "CGM", cgm_sufxs, "CGM");
- 
+#endif
+
 #ifdef NETCDF_FILE  
   register_factory( NULL, WriteSLAC::factory, "SLAC", "slac", "SLAC" );
 #endif



More information about the moab-dev mailing list