[Seqan-dev] FYI: CMake - Seqan - OpenMP support


Hi,

After porting my project to the new structure I noticed that the OpenMP support didn't work properly anymore.

In Xcode you always have to tick the "Enable OpenMP Support" checkbox in "Project Info/Build" after running the cmake command (which isn't too much of a hassle).

For the Makefile version one, however, seems to have to add some flags to tell the compiler to do as it is told, i.e. for gcc:

cmake ../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fopenmp"

seems to work. I assumed cmake would take care of this.

Cheers,
Fabian

--
Fabian Buske
Institute for Molecular Bioscience
The University of Queensland
Brisbane, Qld. 4072 Australia
Phone: (61)-(7)-334-62641