smarco / WFA2-lib

WFA-lib: Wavefront alignment algorithm library v2
Other
162 stars 36 forks source link

Support OpenMP when it needs flags other than C_FLAGS #64

Closed adamnovak closed 1 year ago

adamnovak commented 1 year ago

On Mac, linking OpenMP can require linker flags, to point at where e.g. Homebrew installs the libraries.

This, on top of #62, changes the CMake configuration to use the OpenMP target, which lets CMake take care of providing all the required flags it knows about to both the compiler and the linker.