[med-svn] [gatb-core] 03/03: Try to follow a hint from Christian Seiler on Debian Mentors (needs more adjustment)
Andreas Tille
tille at debian.org
Tue Nov 28 21:24:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository gatb-core.
commit f63aeecad501c81646d59a1a8ffc199eb94e360b
Author: Andreas Tille <tille at debian.org>
Date: Tue Nov 28 22:23:43 2017 +0100
Try to follow a hint from Christian Seiler on Debian Mentors (needs more adjustment)
---
debian/patches/use_debian_packaged_hdf5.patch | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/patches/use_debian_packaged_hdf5.patch b/debian/patches/use_debian_packaged_hdf5.patch
index 8cd0918..71dbf7d 100644
--- a/debian/patches/use_debian_packaged_hdf5.patch
+++ b/debian/patches/use_debian_packaged_hdf5.patch
@@ -52,11 +52,16 @@ Description: Use Debian packaged hdf5
add_custom_target (thirdparty_copy ALL)
--- a/gatb-core/CMakeLists.txt
+++ b/gatb-core/CMakeLists.txt
-@@ -258,7 +258,6 @@ ADD_SUBDIRECTORY(thirdparty)
+@@ -258,7 +258,11 @@ ADD_SUBDIRECTORY(thirdparty)
# DEPENDENCIES
################################################################################
# we must be sure that hdf5 is built and installed before building gatb-core
-ADD_DEPENDENCIES (gatbcore-static hdf5 hdf5_postbuild)
++find_package(HDF5 REQUIRED)
++include_directories(${HDF5_INCLUDE_DIRS})
++# Not sure what exact programs will need these libraries
++# see https://lists.debian.org/debian-mentors/2017/11/msg00227.html
++# target_link_libraries(name_of_program_or_library ${HDF5_LIBRARIES})
################################################################################
# DOCUMENTATION GENERATION
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gatb-core.git
More information about the debian-med-commit
mailing list