aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake/FindScotch.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindScotch.cmake')
-rw-r--r--cmake/FindScotch.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindScotch.cmake b/cmake/FindScotch.cmake
index 89d295ac2..af00eb0f2 100644
--- a/cmake/FindScotch.cmake
+++ b/cmake/FindScotch.cmake
@@ -301,7 +301,7 @@ if(SCOTCH_LIBRARIES)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_FLAGS)
set(CMAKE_REQUIRED_LIBRARIES)
-endif(SCOTCH_LIBRARIES)
+endif()
if (SCOTCH_LIBRARIES)
list(GET SCOTCH_LIBRARIES 0 first_lib)