Skip to content
Snippets Groups Projects
Commit 9dc7a2ed authored by Lucas Czech's avatar Lucas Czech Committed by Brad King
Browse files

FindOpenMP: Add iomp5 variant of Clang OpenMP flags

Try `-fopenmp=libiomp5` in addition to `-fopenmp=libomp`.  Leave the
latter as the default that we try first when the compiler id is `Clang`.
If that does not work we will still fall back to trying all the
candidates and eventually get to the iomp5 variant.
parent 3f8e94f7
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
#GNU
"-fopenmp"
#Clang
"-fopenmp=libiomp5"
"-fopenmp=libomp"
#Microsoft Visual Studio
"/openmp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment