Salome HOME
Since there is an idl precompilation directive in SMESH_BasicHypothesis.idl
authornadir <nadir>
Tue, 16 Dec 2003 15:27:48 +0000 (15:27 +0000)
committernadir <nadir>
Tue, 16 Dec 2003 15:27:48 +0000 (15:27 +0000)
file, a -DHAVE_NETGEN idl has to be added when compiling SMESH with netgen to
the idl c++ flags as well as to the idl python flags.

adm_local/unix/config_files/check_Netgen.m4

index 680870f..c2dbcb9 100644 (file)
@@ -112,6 +112,8 @@ else
   AC_MSG_RESULT(yes)
   NETGEN_LIBS="-lNETGEN"
   CPPFLAGS="${CPPFLAGS} -DHAVE_NETGEN"
+  IDLCXXFLAGS="${IDLCXXFLAGS} -DHAVE_NETGEN"
+  IDLPYFLAGS="${IDLPYFLAGS} -DHAVE_NETGEN"
 fi
 fi
 AC_SUBST(NETGEN_INCLUDES)