Equilibrium contact angle of liquid drops over horizontal surfaces has been modeled using smoothed particle hydrodynamics (SPH). The model is capable of accurate implementation of contact angles to stationary and moving contact lines. In this scheme, the desired value for stationary or dynamic contact angle is used to correct the profile near the triple point. This is achieved by correcting the surface normals near the contact line and also interpolating the drop profile into the boundaries. Simulations show that a close match to the chosen contact angle values can be achieved for both stationary and moving contact lines. This technique has proven to reduce the amount of nonphysical shear stresses near the triple point and to enhance the convergence characteristics of the solver.