aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindComputeCpp.cmake
diff options
context:
space:
mode:
authorGravatar Hans Johnson <hans.j.johnson@gmail.com>2019-10-31 11:36:37 -0500
committerGravatar Hans Johnson <hans.j.johnson@gmail.com>2019-10-31 11:36:37 -0500
commit8c8cab1afdc325dfe0a3c1ad805014ea4010e208 (patch)
tree65946d241f9e757a0f745832e35fba9d44c193c9 /cmake/FindComputeCpp.cmake
parent6fb3e5f1767855bc1a8aa3c868bc7fbf0eeb67ef (diff)
STYLE: Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case.
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