diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-08-07 16:33:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-03 15:46:11 (GMT) |
commit | 5a1750017e65727660167ae1953746a3fd3d2c7b (patch) | |
tree | 5a5361794d3b7ae926c23e0efec1b3601963319f /Modules/CMakeISPCInformation.cmake | |
parent | ca5babfd7a1da8e32f927ad086fdd91c2b09853b (diff) | |
download | CMake-5a1750017e65727660167ae1953746a3fd3d2c7b.zip CMake-5a1750017e65727660167ae1953746a3fd3d2c7b.tar.gz CMake-5a1750017e65727660167ae1953746a3fd3d2c7b.tar.bz2 |
ISPC: Add compiler launcher support
Diffstat (limited to 'Modules/CMakeISPCInformation.cmake')
-rw-r--r-- | Modules/CMakeISPCInformation.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeISPCInformation.cmake b/Modules/CMakeISPCInformation.cmake index 514036e..46bda5b 100644 --- a/Modules/CMakeISPCInformation.cmake +++ b/Modules/CMakeISPCInformation.cmake @@ -32,6 +32,11 @@ if(CMAKE_ISPC_STANDARD_LIBRARIES_INIT) mark_as_advanced(CMAKE_ISPC_STANDARD_LIBRARIES) endif() +if(NOT CMAKE_ISPC_COMPILER_LAUNCHER AND DEFINED ENV{CMAKE_ISPC_COMPILER_LAUNCHER}) + set(CMAKE_ISPC_COMPILER_LAUNCHER "$ENV{CMAKE_ISPC_COMPILER_LAUNCHER}" + CACHE STRING "Compiler launcher for ISPC.") +endif() + include(CMakeCommonLanguageInclude) # now define the following rules: |