Common components for OPM, in particular build system (cmake).
When configured with TBB dune-common-targets.cmake lists the imported TBB::tbb or PkgConfig::PkgConfigTBB target in INTERFACE_LINK_LIBRARIES. Hence we need to be able to resolve this target in opm. We do this by searching for TBB id dune-common is a prerequisite. This commit fixes the problem only for newer versions of TBB shipping a TBBConfig.cmake file. The error fixed is along these lines: Target "test_communication_utils" links to target "TBB::tbb" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? |
||
---|---|---|
cmake | ||
debian | ||
docs | ||
etc | ||
examples | ||
external | ||
jenkins | ||
msim | ||
opm | ||
python | ||
redhat | ||
src/opm | ||
test_util | ||
tests | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
changelog.md | ||
CMakeLists_files.cmake | ||
CMakeLists.txt | ||
CopyHeaders.cmake | ||
dune.module | ||
ExtraTests.cmake | ||
GenerateKeywords.cmake | ||
LICENSE | ||
opm-common-prereqs.cmake | ||
README.md |
opm-common
Contains common components used throughout all of OPM, in particular CMake modules for the build system.