Salome HOME
0021480: EDF 2084 SMESH: SIGSEGV when validating Netgen3D hypothesis
[modules/smesh.git] / src / SMESH / Makefile.am
index 040c9849f6490f4c534f84a4884f61e858e2575b..d74be2995a2bdd4ebb2439d0e0f6731214f7c1f3 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
 
 #  SMESH SMESH : implementaion of SMESH idl descriptions
 #  File   : Makefile.in
 #  Author : Paul RASCLE, EDF
 #  Modified by : Alexander BORODIN (OCN) - autotools usage
 #  Module : SMESH
-#
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 # header files 
@@ -87,6 +86,10 @@ libSMESHimpl_la_CPPFLAGS = \
        -I$(srcdir)/../SMESHDS \
        -I$(srcdir)/../SMESHUtils
 
+if WITH_CGNS
+  DriverCGNS_LIB = ../DriverCGNS/libMeshDriverCGNS.la
+endif
+
 libSMESHimpl_la_LDFLAGS = \
        ../SMESHDS/libSMESHDS.la \
        ../Controls/libSMESHControls.la \
@@ -94,7 +97,8 @@ libSMESHimpl_la_LDFLAGS = \
        ../DriverSTL/libMeshDriverSTL.la \
        ../DriverMED/libMeshDriverMED.la \
        ../DriverUNV/libMeshDriverUNV.la \
-       ../DriverCGNS/libMeshDriverCGNS.la \
+       $(DriverCGNS_LIB) \
        ../SMESHUtils/libSMESHUtils.la \
+       $(BOOST_LIB_THREAD)  \
        $(GEOM_LDFLAGS) -lNMTTools \
        $(CAS_LDPATH) -lTKShHealing -lTKPrim -lTKG2d