From: nadir Date: Tue, 16 Dec 2003 15:27:48 +0000 (+0000) Subject: Since there is an idl precompilation directive in SMESH_BasicHypothesis.idl X-Git-Tag: V1_3_1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=47e405c5eacd9b2a9f9d82e486411ac011e42367;p=modules%2Fsmesh.git Since there is an idl precompilation directive in SMESH_BasicHypothesis.idl 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. --- diff --git a/adm_local/unix/config_files/check_Netgen.m4 b/adm_local/unix/config_files/check_Netgen.m4 index 680870f11..c2dbcb986 100644 --- a/adm_local/unix/config_files/check_Netgen.m4 +++ b/adm_local/unix/config_files/check_Netgen.m4 @@ -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)