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.
This commit is contained in:
Hans Johnson
2019-10-31 11:36:27 -05:00
parent f1e8307308
commit 6fb3e5f176
59 changed files with 253 additions and 253 deletions

View File

@@ -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()