diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-09-24 19:39:00 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-10-06 14:47:20 (GMT) |
commit | e17e2c6a517cf40b41014cdf3e239c0b21da868e (patch) | |
tree | 214a35d04a2214d1aa9d074cad80672ce1cb0f18 /Modules/CheckSourceCompiles.cmake | |
parent | a12da6fb5ece6baf3b4540d8204b8b29dde92538 (diff) | |
download | CMake-e17e2c6a517cf40b41014cdf3e239c0b21da868e.zip CMake-e17e2c6a517cf40b41014cdf3e239c0b21da868e.tar.gz CMake-e17e2c6a517cf40b41014cdf3e239c0b21da868e.tar.bz2 |
ISPC: CheckCompilerFlags and CheckSourceCompiles support ISPC
Diffstat (limited to 'Modules/CheckSourceCompiles.cmake')
-rw-r--r-- | Modules/CheckSourceCompiles.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckSourceCompiles.cmake b/Modules/CheckSourceCompiles.cmake index 13ec9db..70a733d 100644 --- a/Modules/CheckSourceCompiles.cmake +++ b/Modules/CheckSourceCompiles.cmake @@ -92,6 +92,9 @@ function(CHECK_SOURCE_COMPILES _lang _source _var) elseif(_lang STREQUAL Fortran) set(_lang_textual "Fortran") set(_lang_ext "F") + elseif(_lang STREQUAL ISPC) + set(_lang_textual "ISPC") + set(_lang_ext "ispc") elseif(_lang STREQUAL OBJC) set(_lang_textual "Objective-C") set(_lang_ext "m") |