As opm-common is search in the toplevel CMakeLists.txt of each module in config mode and the dependencies and defines are only processed in opm_find_package(opm-common), we allow a second search using module mode to trigger opm_find_package.
As opm-common is search in the toplevel CMakeLists.txt of each module in config mode and the dependencies and defines are only processed in opm_find_package(opm-common), we allow a second search using module mode to trigger opm_find_package.