[shark] 05/12: Fix HDF5 detection.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Dec 10 19:48:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository shark.

commit d51ee747787f7a8deefff1a338e50cce26a7ec8a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Mon Nov 23 22:48:14 2015 +0000

    Fix HDF5 detection.
---
 CMakeLists.txt | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e5ab6fc..cd504cd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -201,7 +201,7 @@ endif()
 find_package(HDF5 COMPONENTS C CXX HL QUIET)
 mark_as_advanced(HDF5_DIR)
 if(HDF5_FOUND)
-	if(HDF5_C_COMPILER_EXECUTABLE AND HDF5_HL_COMPILER_EXECUTABLE  AND HDF5_CXX_COMPILER_EXECUTABLE)
+	if(HDF5_C_COMPILER_EXECUTABLE AND HDF5_CXX_COMPILER_EXECUTABLE)
 		message(STATUS "Checking HDF5 installation: HDF5 installation seems ok.")
 		include_directories( ${HDF5_INCLUDE_DIR} )
 		link_directories( ${HDF5_LIBRARY_DIR} )
@@ -211,9 +211,6 @@ if(HDF5_FOUND)
 		if(NOT( HDF5_C_COMPILER_EXECUTABLE))
 			message(STATUS "  C Compiler Extension not found.")
 		endif()
-		if(NOT( HDF5_HL_COMPILER_EXECUTABLE))
-			message(STATUS "  HL Compiler Extension not found.")
-		endif()
 		if(NOT( HDF5_CXX_COMPILER_EXECUTABLE))
 			message(STATUS "  CXX Compiler Extension not found.")
 		endif()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/shark.git



More information about the debian-science-commits mailing list