Commit 644ccd44 authored by Andreas Tille's avatar Andreas Tille
Browse files

Build-Depends: libboost-dev, libgatbcore-dev; adapt build to use Debian packaged gatbcore

parent 92a38c9a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ minia (3.2.0-1) UNRELEASED; urgency=medium
  * Remove trailing whitespace in debian/changelog
  * Remove trailing whitespace in debian/control
  * Remove trailing whitespace in debian/copyright
  * Build-Depends: libboost-dev, libgatbcore-dev

 -- Andreas Tille <tille@debian.org>  Mon, 21 Jan 2019 09:01:19 +0100

+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 12~),
               cmake,
               bc,
               zlib1g-dev,
               libboost-dev,
               libgatbcore-dev
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/minia

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
use_debian_packaged_gatb-core.patch
+13 −0
Original line number Diff line number Diff line
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,8 +42,8 @@ add_definitions( -DGIT_SHA1="${VERSION_S
 ################################################################################
 # Define cmake modules directory
 ################################################################################
-SET (GATB_CORE_HOME  ${PROJECT_SOURCE_DIR}/thirdparty/gatb-core/gatb-core)
-SET (CMAKE_MODULE_PATH ${GATB_CORE_HOME}/cmake)
+include(GNUInstallDirs)
+SET (CMAKE_MODULE_PATH /usr/${CMAKE_INSTALL_LIBDIR}/cmake)
 
 ################################################################################
 # SUPPORTED KMER SIZES