We've had some unfortunate incidences where people have used automated build scripts to build OPM, but have not been notified of the deprecation of this module. As it stands, opm-material will fail to compile due to some dependency not being met.
This PR addes a fatal error at the top of CMakeLists.txt such that running cmake <path to opm-material> results in
CMake Error at CMakeLists.txt:26 (message):
THIS MODULE IS DEPRECATED. The material module have been integrated into
opm-common.
If one really wants to build it, one can specify -DBUILD_DEPRECATD_OPM_MATERIAL=ON and have it built (provided one can find matching versions of the other repositories).
We've had some unfortunate incidences where people have used automated build scripts to build OPM, but have not been notified of the deprecation of this module. As it stands, opm-material will fail to compile due to some dependency not being met.
This PR addes a fatal error at the top of
CMakeLists.txt
such that runningcmake <path to opm-material>
results inIf one really wants to build it, one can specify
-DBUILD_DEPRECATD_OPM_MATERIAL=ON
and have it built (provided one can find matching versions of the other repositories).