mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user