-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring fails with 'Target ... links to target "TBB::tbb" but the target was not found' #546
Comments
It's not a matter of CMake, but of the Dune version. I'll update the description. |
the joys of maintaining custom build systems. We well need to adapt our
find modules for this as they do not search for TBB and DUNE does not trigger
the search either if its CMake stuff is not used.
|
I was about to comment along the lines "not yet fixed, but you can use this workaround", but when running another test it seems like this is actually fixed. Maybe that is due to the changes in the DUNE release? On my system it uses pkgconfig to search for tbb as I use CMake < 3.19.4. Can you please check whether the problem persists on your system? |
Sigh. Am seeing it again (both in opm-material and opm-grid). |
I also still see it, this time with a standard Ubuntu 21.10. |
I guess we would need to define PkgConfig::PkgConfigTBB and TBB::tbb in a newly created FindTBB.cmake in opm-common. |
Not really satisfactory, but one can set CMAKE_MODULE_PATH to include /path/to/dune-common/cmake/modules as workaround to make the build succeed. But this is really hacky as OPM might find cmake modules from DUNE when it should find the ones in OPM. |
I experience this Dune release 2.8. With Dune 2.7, everything is fine. TBB is installed in both cases.
The corresponding output of dunecontrol is
The text was updated successfully, but these errors were encountered: