aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindComputeCpp.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindComputeCpp.cmake')
-rw-r--r--cmake/FindComputeCpp.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindComputeCpp.cmake b/cmake/FindComputeCpp.cmake
index 103e8a19a..f84a2554d 100644
--- a/cmake/FindComputeCpp.cmake
+++ b/cmake/FindComputeCpp.cmake
@@ -256,7 +256,7 @@ function(add_sycl_to_target targetName binaryDir sourceFiles)
# Add custom target to run compute++ and generate the integration header
foreach(sourceFile ${sourceFiles})
__build_spir(${targetName} ${sourceFile} ${binaryDir} ${fileCounter})
- MATH(EXPR fileCounter "${fileCounter} + 1")
+ math(EXPR fileCounter "${fileCounter} + 1")
endforeach()
# Link with the ComputeCpp runtime library