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/libs/BLAS/CMakeLists.txt | |
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/libs/BLAS/CMakeLists.txt')
-rw-r--r-- | bench/btl/libs/BLAS/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bench/btl/libs/BLAS/CMakeLists.txt b/bench/btl/libs/BLAS/CMakeLists.txt index 0272ccad0..f2738f169 100644 --- a/bench/btl/libs/BLAS/CMakeLists.txt +++ b/bench/btl/libs/BLAS/CMakeLists.txt @@ -5,8 +5,8 @@ if (ATLAS_FOUND) if(BUILD_btl_atlas) target_link_libraries(btl_atlas ${ATLAS_LIBRARIES}) set_target_properties(btl_atlas PROPERTIES COMPILE_FLAGS "-DCBLASNAME=ATLAS -DHAS_LAPACK=1") - endif(BUILD_btl_atlas) -endif (ATLAS_FOUND) + endif() +endif () find_package(MKL) if (MKL_FOUND) @@ -14,8 +14,8 @@ if (MKL_FOUND) if(BUILD_btl_mkl) target_link_libraries(btl_mkl ${MKL_LIBRARIES}) set_target_properties(btl_mkl PROPERTIES COMPILE_FLAGS "-DCBLASNAME=INTEL_MKL -DHAS_LAPACK=1") - endif(BUILD_btl_mkl) -endif (MKL_FOUND) + endif() +endif () find_package(OPENBLAS) @@ -24,8 +24,8 @@ if (OPENBLAS_FOUND) if(BUILD_btl_openblas) target_link_libraries(btl_openblas ${OPENBLAS_LIBRARIES} ) set_target_properties(btl_openblas PROPERTIES COMPILE_FLAGS "-DCBLASNAME=OPENBLAS") - endif(BUILD_btl_openblas) -endif (OPENBLAS_FOUND) + endif() +endif () find_package(ACML) if (ACML_FOUND) @@ -33,8 +33,8 @@ if (ACML_FOUND) if(BUILD_btl_acml) target_link_libraries(btl_acml ${ACML_LIBRARIES} ) set_target_properties(btl_acml PROPERTIES COMPILE_FLAGS "-DCBLASNAME=ACML -DHAS_LAPACK=1") - endif(BUILD_btl_acml) -endif (ACML_FOUND) + endif() +endif () if(Eigen_SOURCE_DIR AND CMAKE_Fortran_COMPILER_WORKS) # we are inside Eigen and blas/lapack interface is compilable |