Closed ktarplee closed 6 years ago
hey there! Thanks for the PR.
find_package(OpenMP QUIET)
if(OpenMP_FOUND)
message("Compiling with OpenMP support")
target_compile_options(lapsolverc PUBLIC "$<$<CONFIG:RELEASE>:${OpenMP_CXX_FLAGS}>")
else()
message("Compiling without OpenMP support")
endif()
So people having OpenMP installed would benefit from the parallelization, while the library still compiles for others.
In the meantime I will have a look why the appveyor build fails.
What code is actually using OpenMP? I did not find any "#pragma omp" lines in your code?
Oh you are correct, it seems like I have dropped OpenMP support myself and forgot about the CMakeLists file. My bad!
merged to develop. Hopefully have time soon to make a release.
Closes #2