summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenMP.cmake
diff options
context:
space:
mode:
authorWilliam R. Dieter <william.r.dieter@intel.com>2020-11-03 01:11:25 (GMT)
committerBrad King <brad.king@kitware.com>2021-01-28 14:07:00 (GMT)
commit042aba3db4e2f062a91b62579b6b1957a53b1ec2 (patch)
treec2473d3ae5478a2fd0b61353e453e1d1a641432d /Modules/FindOpenMP.cmake
parent90941a18964e042c269faf2ae57a813c1361b941 (diff)
downloadCMake-042aba3db4e2f062a91b62579b6b1957a53b1ec2.zip
CMake-042aba3db4e2f062a91b62579b6b1957a53b1ec2.tar.gz
CMake-042aba3db4e2f062a91b62579b6b1957a53b1ec2.tar.bz2
FindOpenMP: Add support for IntelLLVM
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-rw-r--r--Modules/FindOpenMP.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake
index 11c6050..a1ffc25 100644
--- a/Modules/FindOpenMP.cmake
+++ b/Modules/FindOpenMP.cmake
@@ -113,6 +113,7 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
else()
set(OMP_FLAG_Intel "-qopenmp")
endif()
+ set(OMP_FLAG_IntelLLVM "-fiopenmp")
set(OMP_FLAG_MSVC "-openmp")
set(OMP_FLAG_PathScale "-openmp")
set(OMP_FLAG_NAG "-openmp")