[med-svn] [Git][med-team/discosnp][master] 2 commits: Force linking agains Debian packaged libs

Andreas Tille gitlab at salsa.debian.org
Tue Jan 22 21:32:14 GMT 2019


Andreas Tille pushed to branch master at Debian Med / discosnp


Commits:
eb57ecaa by Andreas Tille at 2019-01-22T20:13:48Z
Force linking agains Debian packaged libs

- - - - -
6b87aec1 by Andreas Tille at 2019-01-22T21:22:04Z
Set dir for hdf5 library

- - - - -


2 changed files:

- debian/control
- debian/patches/use_debian_packaged_gatb-core.patch


Changes:

=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Section: science
 Priority: optional
 Build-Depends: debhelper (>= 12~),
                cmake,
-               libgatbcore-dev,
+               libgatbcore-dev (>= 1.4.1+git20180206.6f8fce8~),
                libboost-dev,
                libhdf5-dev,
                zlib1g-dev


=====================================
debian/patches/use_debian_packaged_gatb-core.patch
=====================================
@@ -15,3 +15,64 @@ Description: Use cmake input file of Debian packaged gatb-core
  
  ################################################################################
  # THIRD PARTIES
+--- a/tools/QHC/CMakeLists.txt
++++ b/tools/QHC/CMakeLists.txt
+@@ -22,7 +22,9 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BIN
+ 
+ 
+ # we define which libraries to be linked with project binary
+-target_link_libraries (${PROJECT_NAME}  ${gatb-core-libraries})
++include(GNUInstallDirs)
++LINK_DIRECTORIES( /usr/${CMAKE_INSTALL_LIBDIR}/hdf5/serial )
++target_link_libraries (${PROJECT_NAME} gatbcore hdf5 )
+ 
+ 
+ # We copy the project binary to the 'bin' directory
+--- a/tools/kissnp2/CMakeLists.txt
++++ b/tools/kissnp2/CMakeLists.txt
+@@ -22,8 +22,10 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BIN
+ 
+ 
+ # we define which libraries to be linked with project binary
+-target_link_libraries (${PROJECT_NAME}  ${gatb-core-libraries})
++include(GNUInstallDirs)
++LINK_DIRECTORIES( /usr/${CMAKE_INSTALL_LIBDIR}/hdf5/serial )
++target_link_libraries (${PROJECT_NAME} gatbcore hdf5 )
+ 
+ 
+ # We copy the project binary to the 'bin' directory
+-INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
+\ No newline at end of file
++INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
+--- a/tools/kissreads2/CMakeLists.txt
++++ b/tools/kissreads2/CMakeLists.txt
+@@ -22,8 +22,10 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BIN
+ 
+ 
+ # we define which libraries to be linked with project binary
+-target_link_libraries (${PROJECT_NAME}  ${gatb-core-libraries})
++include(GNUInstallDirs)
++LINK_DIRECTORIES( /usr/${CMAKE_INSTALL_LIBDIR}/hdf5/serial )
++target_link_libraries (${PROJECT_NAME} gatbcore hdf5 )
+ 
+ 
+ # We copy the project binary to the 'bin' directory
+-INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
+\ No newline at end of file
++INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
+--- a/tools/read_file_names/CMakeLists.txt
++++ b/tools/read_file_names/CMakeLists.txt
+@@ -22,8 +22,10 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BIN
+ 
+ 
+ # we define which libraries to be linked with project binary
+-target_link_libraries (${PROJECT_NAME}  ${gatb-core-libraries})
++include(GNUInstallDirs)
++LINK_DIRECTORIES( /usr/${CMAKE_INSTALL_LIBDIR}/hdf5/serial )
++target_link_libraries (${PROJECT_NAME} gatbcore hdf5 )
+ 
+ 
+ # We copy the project binary to the 'bin' directory
+-INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)
+\ No newline at end of file
++INSTALL (TARGETS ${PROJECT_NAME} DESTINATION bin)



View it on GitLab: https://salsa.debian.org/med-team/discosnp/compare/69d06fc5a043011814b8eba1ab7cc4d3dcc27c8c...6b87aec1e8d587e750fd1dd25d419269fc66ed7c

-- 
View it on GitLab: https://salsa.debian.org/med-team/discosnp/compare/69d06fc5a043011814b8eba1ab7cc4d3dcc27c8c...6b87aec1e8d587e750fd1dd25d419269fc66ed7c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190122/c2f63913/attachment-0001.html>


More information about the debian-med-commit mailing list