diff options
author | Hans Johnson <hans.j.johnson@gmail.com> | 2019-10-31 11:36:27 -0500 |
---|---|---|
committer | Hans Johnson <hans.j.johnson@gmail.com> | 2019-10-31 11:36:27 -0500 |
commit | 6fb3e5f1767855bc1a8aa3c868bc7fbf0eeb67ef (patch) | |
tree | ee5db623e6eb11561a60f9abf0f6d0696c950360 /cmake/FindTriSYCL.cmake | |
parent | f1e83073082f2733eec6235f2fdf251217a54ade (diff) |
STYLE: Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the block.
This is no longer the preferred style.
Diffstat (limited to 'cmake/FindTriSYCL.cmake')
-rw-r--r-- | cmake/FindTriSYCL.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/FindTriSYCL.cmake b/cmake/FindTriSYCL.cmake index cb2154192..41bc2fa89 100644 --- a/cmake/FindTriSYCL.cmake +++ b/cmake/FindTriSYCL.cmake @@ -72,7 +72,7 @@ if(TRISYCL_OPENCL) if(UNIX) set(BOOST_COMPUTE_INCPATH /usr/include/compute CACHE PATH "Path to Boost.Compute headers (default is: /usr/include/compute)") - endif(UNIX) + endif() endif() # Find OpenMP package @@ -147,6 +147,6 @@ function(add_sycl_to_target targetName sourceFile binaryDir) set_target_properties(${targetName} PROPERTIES LINK_FLAGS ${OpenMP_CXX_FLAGS}) - endif(${TRISYCL_OPENMP} AND (NOT WIN32)) + endif() -endfunction(add_sycl_to_target) +endfunction() |