]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
rnc: fix error in checking of opencv at configure step
authorgdd <gdd>
Tue, 8 Nov 2011 14:31:36 +0000 (14:31 +0000)
committergdd <gdd>
Tue, 8 Nov 2011 14:31:36 +0000 (14:31 +0000)
src/EntityGUI/Makefile.am

index a1fbbcb93783ae7a0465533c3340ce7a7f72f1aa..e543b2875bf248bc5dbbf6ae1a8f8fb720ca6dc1 100644 (file)
@@ -33,6 +33,8 @@ if WITH_OPENCV
   PictureImportDlg_moc = EntityGUI_PictureImportDlg_moc.cxx
   Opencv_libs = $(OPENCV_LIBS)
   Opencv_includes = $(OPENCV_INCLUDES)
+  ShapeRec_dir = $(srcdir)/../ShapeRecognition
+  ShapeRec_la = ../ShapeRecognition/libGEOMShapeRec.la  
 endif
 
 # Libraries targets
@@ -106,17 +108,18 @@ libEntityGUI_la_CPPFLAGS =                        \
        -I$(srcdir)/../GEOMImpl                 \
        -I$(srcdir)/../GEOMFiltersSelection     \
        -I$(srcdir)/../SKETCHER                 \
-       -I$(srcdir)/../ShapeRecognition         \
+       -I$(ShapeRec_dir)                       \
        -I$(srcdir)/../GEOM                     \
        -I$(top_builddir)/src/DlgRef            \
        -I$(top_builddir)/idl
 
+
 libEntityGUI_la_LDFLAGS  =                                     \
        ../GEOMFiltersSelection/libGEOMFiltersSelection.la      \
        ../GEOMBase/libGEOMBase.la                              \
        ../SKETCHER/libGEOMSketcher.la                          \
        ../GEOMGUI/libGEOM.la                                   \
-       ../ShapeRecognition/libGEOMShapeRec.la                  \
+       $(ShapeRec_la)                                          \
        $(QT_MT_LIBS)                                           \
        $(CAS_TKTopAlgo) -lTKernel                              \
        $(Opencv_libs)