A dam for irrigation purposes shall not be constructed unless the dam is approved in a manner provided by law.