amgcl
amgcl copied to clipboard
OpenMP is enabled whenever it is found in the system
In CmakeLists.txt, if OpenMP is found on the system, it is unconditionally enabled:
https://github.com/ddemidov/amgcl/blob/c71ab45f911771c108b1842ea7cd11b62432bbf3/CMakeLists.txt#L60-L68
However, I may want to compile my application without OpenMP even though it is installed. Currently, there is no way to do that.
amgcl could define a CMake option to enable/disable use of OpenMP.
That is a good point, but I am currently away from keyboard for about two weeks, and so won't be able to implement it right away. I'll gladly accept a pull request though.
No problem! I will try to make a PR in the coming days.