From 6fb3e5f1767855bc1a8aa3c868bc7fbf0eeb67ef Mon Sep 17 00:00:00 2001 From: Hans Johnson Date: Thu, 31 Oct 2019 11:36:27 -0500 Subject: 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. --- cmake/FindTriSYCL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cmake/FindTriSYCL.cmake') 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() -- cgit v1.2.3