[cig-commits] r7340 - short/3D/PyLith/trunk/libsrc
brad at geodynamics.org
brad at geodynamics.org
Wed Jun 20 21:38:49 PDT 2007
Author: brad
Date: 2007-06-20 21:38:49 -0700 (Wed, 20 Jun 2007)
New Revision: 7340
Modified:
short/3D/PyLith/trunk/libsrc/Makefile.am
Log:
Added linking of netcdf libraries if CUBIT is enabled.
Modified: short/3D/PyLith/trunk/libsrc/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/libsrc/Makefile.am 2007-06-21 03:25:55 UTC (rev 7339)
+++ short/3D/PyLith/trunk/libsrc/Makefile.am 2007-06-21 04:38:49 UTC (rev 7340)
@@ -80,11 +80,6 @@
meshio/SolutionIOVTK.cc \
topology/FieldsManager.cc
-if ENABLE_CUBIT
- libpylith_la_SOURCES += \
- meshio/MeshIOCubit.cc
-endif
-
libpylith_la_LDFLAGS = -no-undefined $(PYTHON_LA_LDFLAGS)
libpylith_la_LIBADD = \
$(PETSC_LIB) \
@@ -95,4 +90,10 @@
AM_CPPFLAGS = $(PYTHON_EGG_CPPFLAGS) -I$(PYTHON_INCDIR) $(PETSC_SIEVE_FLAGS)
+if ENABLE_CUBIT
+ libpylith_la_SOURCES += \
+ meshio/MeshIOCubit.cc
+ libpylith_la_LIBADD += -lnetcdf_c++ -lnetcdf
+endif
+
# End of file
More information about the cig-commits
mailing list