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/FindMTL4.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/FindMTL4.cmake')
-rw-r--r-- | bench/btl/cmake/FindMTL4.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/btl/cmake/FindMTL4.cmake b/bench/btl/cmake/FindMTL4.cmake index 3de490980..1bafc93a6 100644 --- a/bench/btl/cmake/FindMTL4.cmake +++ b/bench/btl/cmake/FindMTL4.cmake @@ -15,7 +15,7 @@ if (MTL4_INCLUDE_DIR) # in cache already set(MTL4_FOUND TRUE) -else (MTL4_INCLUDE_DIR) +else () find_path(MTL4_INCLUDE_DIR NAMES boost/numeric/mtl/mtl.hpp PATHS @@ -27,5 +27,5 @@ find_package_handle_standard_args(MTL4 DEFAULT_MSG MTL4_INCLUDE_DIR) mark_as_advanced(MTL4_INCLUDE_DIR) -endif(MTL4_INCLUDE_DIR) +endif() |