diff --git a/src/Driver/Makefile.in b/src/Driver/Makefile.in index 4525ae79d..ba64e1fbb 100644 --- a/src/Driver/Makefile.in +++ b/src/Driver/Makefile.in @@ -46,8 +46,9 @@ LIB_CLIENT_IDL = LIB_SERVER_IDL = # additionnal information to compil and link file -CPPFLAGS += $(OCC_INCLUDES) -CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) -rdynamic -ldl +CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome +CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) -rdynamic -ldl -I${KERNEL_ROOT_DIR}/include/salome + LDFLAGS += $(OCC_LIBS) $(MED2_LIBS) -lSMESHDS -lSMDS %_moc.cxx: %.h