[MOAB-dev] r3549 - MOAB/trunk/tools/dagmc
bmsmith6 at wisc.edu
bmsmith6 at wisc.edu
Thu Feb 18 16:10:16 CST 2010
Author: bmsmith
Date: 2010-02-18 16:10:16 -0600 (Thu, 18 Feb 2010)
New Revision: 3549
Modified:
MOAB/trunk/tools/dagmc/Makefile.am
Log:
Build update_coords only if MOAB is linked with NetCDF and CGM.
Modified: MOAB/trunk/tools/dagmc/Makefile.am
===================================================================
--- MOAB/trunk/tools/dagmc/Makefile.am 2010-02-18 21:53:10 UTC (rev 3548)
+++ MOAB/trunk/tools/dagmc/Makefile.am 2010-02-18 22:10:16 UTC (rev 3549)
@@ -13,7 +13,9 @@
CPPFLAGS += $(CGM_CPPFLAGS) -DCGM $(MOAB_CGM_DEFINES)
CXXFLAGS += $(CGM_CXXFLAGS)
-noinst_PROGRAMS = update_coords quads_to_tris
+if NETCDF_FILE
+ noinst_PROGRAMS = update_coords quads_to_tris
+endif
bin_PROGRAMS = cgm2moab
cgm2moab_SOURCES = main.cc cubfile.c
cgm2moab_LDFLAGS = $(CGM_LTFLAGS) $(CGM_LDLFAGS)
@@ -36,8 +38,10 @@
test_geom_SOURCES = test_geom.cc
test_geom_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
-update_coords_SOURCES = cub2h5m.cc quads_to_tris.cpp quads_to_tris.hpp
-update_coords_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
+if NETCDF_FILE
+ update_coords_SOURCES = cub2h5m.cc quads_to_tris.cpp quads_to_tris.hpp
+ update_coords_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
+endif
pt_vol_test_SOURCES = pt_vol_test.cc
pt_vol_test_LDADD = libdagmc.la $(top_builddir)/libMOAB.la $(CGM_LTFLAGS) $(CGM_LDFLAGS) $(CGM_LIBS)
More information about the moab-dev
mailing list