Andreas Tille pushed to branch master at Debian Med / tiddit
Commits:
0584c259 by Andreas Tille at 2020-05-25T14:15:23+02:00
Make sure bamtools headers will be found
- - - - -
1 changed file:
- debian/patches/use_debian_packaged_libs.patch
Changes:
=====================================
debian/patches/use_debian_packaged_libs.patch
=====================================
@@ -11,12 +11,21 @@
# source code
-@@ -28,7 +28,7 @@ file(GLOB TIDDIT_FILES
+@@ -28,8 +28,15 @@ file(GLOB TIDDIT_FILES
)
-add_subdirectory(lib)
+-
+# add_subdirectory(lib)
-
++find_path(bamtools_INCLUDE_DIR api/BamReader.h
++ HINTS ENV BAMTOOLS_INC
++ PATH_SUFFIXES bamtools
++ )
++set(bamtools_INCLUDE_DIRS ${bamtools_INCLUDE_DIR})
++# the code above does not seem to have the wanted effect
++include_directories(/usr/include/bamtools)
++find_library(BAMTOOLS_LIBRARIES libbamtools.a)
# TIDDIT executable
+ add_executable(TIDDIT ${TIDDIT_FILES})
View it on GitLab:
https://salsa.debian.org/med-team/tiddit/-/commit/0584c259b1d017b0e541fdb4e36f6d2a38951b9e
--
View it on GitLab:
https://salsa.debian.org/med-team/tiddit/-/commit/0584c259b1d017b0e541fdb4e36f6d2a38951b9e
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit