From f3308cfd31587cd89e315cf46afa72e4ee1fe474 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Sat, 19 Nov 2016 13:05:28 +0530
Subject: [PATCH] Fix a development warning in cmake.

---
 moose-core/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/moose-core/CMakeLists.txt b/moose-core/CMakeLists.txt
index 443c02aa..4cb79023 100644
--- a/moose-core/CMakeLists.txt
+++ b/moose-core/CMakeLists.txt
@@ -224,7 +224,7 @@ if(HDF5_FOUND)
     if(USE_HDF5_STATIC_LIBRARIES AND $ENV{HDF5_ROOT})
         find_library(HDF5_CXX_LIBRARIES libhdf5.a PATHS $ENV{HDF5_ROOT})
         find_library(HDF5_HL_LIBRARIES libhdf5_hl.a PATHS $ENV{HDF5_ROOT})
-    endif(USE_HDF5_STATIC_LIBRARIES)
+    endif()
     
     include_directories( ${HDF5_INCLUDE_DIRS} )
     foreach(HDF5_LIB ${HDF5_CXX_LIBRARIES} ${HDF5_HL_LIBRARIES} )
-- 
GitLab