Skip to content

FindOpenMP: Keep flags together in imported target usage requirements

Brad King requested to merge brad.king/cmake:FindOpenMP-shell-flags into master

If OpenMP_C_FLAGS contains -Xclang -fopenmp, the flag pair needs to be preserved as a shell command fragment, and must not be split by de-duplication with other target_compile_options.

Fixes: #24966 (closed)
Issue: #24963 (closed)

Edited by Brad King

Merge request reports