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 /bench/btl/cmake/FindMKL.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 'bench/btl/cmake/FindMKL.cmake')
-rw-r--r-- | bench/btl/cmake/FindMKL.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bench/btl/cmake/FindMKL.cmake b/bench/btl/cmake/FindMKL.cmake index f4d7c6ebe..23e77279a 100644 --- a/bench/btl/cmake/FindMKL.cmake +++ b/bench/btl/cmake/FindMKL.cmake @@ -1,7 +1,7 @@ if (MKL_LIBRARIES) set(MKL_FIND_QUIETLY TRUE) -endif (MKL_LIBRARIES) +endif () if(CMAKE_MINOR_VERSION GREATER 4) @@ -30,7 +30,7 @@ if(MKL_LIBRARIES AND MKL_GUIDE) set(MKL_LIBRARIES ${MKL_LIBRARIES} mkl_intel_lp64 mkl_sequential ${MKL_GUIDE} pthread) endif() -else(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64") +else() find_library(MKL_LIBRARIES mkl_core @@ -55,9 +55,9 @@ if(MKL_LIBRARIES AND MKL_GUIDE) set(MKL_LIBRARIES ${MKL_LIBRARIES} mkl_intel mkl_sequential ${MKL_GUIDE} pthread) endif() -endif(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64") +endif() -endif(CMAKE_MINOR_VERSION GREATER 4) +endif() include(FindPackageHandleStandardArgs) find_package_handle_standard_args(MKL DEFAULT_MSG MKL_LIBRARIES) |