[med-svn] [Git][med-team/metabat][master] Use Debian packaged libraries

Andreas Tille gitlab at salsa.debian.org
Thu May 28 19:09:06 BST 2020



Andreas Tille pushed to branch master at Debian Med / metabat


Commits:
4172550e by Andreas Tille at 2020-05-28T20:08:52+02:00
Use Debian packaged libraries

- - - - -


2 changed files:

- CMakeLists.txt
- debian/control


Changes:

=====================================
CMakeLists.txt
=====================================
@@ -8,8 +8,10 @@ endif()
 message("Installing ${CMAKE_BUILD_TYPE} MetaBAT into ${CMAKE_INSTALL_PREFIX}")
 
 include(${CMAKE_ROOT}/Modules/ExternalProject.cmake)
-include(cmake/zlib.cmake)
-include(cmake/htslib.cmake)
+find_package(ZLIB REQUIRED)
+# Find HTSlib. We find it with pkg-config, so it has static and dynamic libs by default.
+find_package(PkgConfig REQUIRED)
+pkg_check_modules(HTSlib REQUIRED htslib)
 
 set(CMAKE_CXX_STANDARD 11)
 set(CMAKE_CXX_STANDARD_REQUIRED ON)


=====================================
debian/control
=====================================
@@ -10,6 +10,8 @@ Build-Depends: debhelper-compat (= 13),
                libboost-filesystem-dev,
                libboost-serialization-dev,
                zlib1g-dev,
+               libhts-dev,
+               pkg-config,
                python3
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/metabat



View it on GitLab: https://salsa.debian.org/med-team/metabat/-/commit/4172550eec48e807cd82b35997d55f67626210de

-- 
View it on GitLab: https://salsa.debian.org/med-team/metabat/-/commit/4172550eec48e807cd82b35997d55f67626210de
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/20200528/856e3a7b/attachment-0001.html>


More information about the debian-med-commit mailing list