[med-svn] [Git][med-team/libvcflib][master] Fix sequence of target_link_libraries
Andreas Tille (@tille)
gitlab at salsa.debian.org
Tue Jan 17 18:41:29 GMT 2023
Andreas Tille pushed to branch master at Debian Med / libvcflib
Commits:
ab0dea51 by Andreas Tille at 2023-01-17T19:40:36+01:00
Fix sequence of target_link_libraries
- - - - -
2 changed files:
- debian/patches/shared_lib.patch
- debian/patches/tabix_linking
Changes:
=====================================
debian/patches/shared_lib.patch
=====================================
@@ -4,7 +4,16 @@ Description: Create shared lib instead of static
Forwarded: not-needed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -156,7 +156,7 @@ if (TABIXPP_LOCAL) # add the tabixpp sou
+@@ -147,19 +147,19 @@ set(vcflib_SOURCE
+ contrib/c-progress-bar/progress.c
+ )
+
+-target_link_libraries(vcflib
+- PkgConfig::SMITHWATERMAN
+- PkgConfig::FASTAHACK
+- )
+-
+ if (TABIXPP_LOCAL) # add the tabixpp source file
list(APPEND vcflib_SOURCE ${tabixpp_SOURCE})
endif()
@@ -13,6 +22,14 @@ Forwarded: not-needed
${vcflib_SOURCE}
)
++target_link_libraries(vcflib
++ PkgConfig::SMITHWATERMAN
++ PkgConfig::FASTAHACK
++ )
++
+ set(BINS
+ vcfecho
+ dumpContigsFromHeader
@@ -303,6 +303,10 @@ set(SCRIPTS
file (STRINGS "VERSION" BUILD_NUMBER)
add_definitions(-DVCFLIB_VERSION="${BUILD_NUMBER}")
=====================================
debian/patches/tabix_linking
=====================================
@@ -3,11 +3,11 @@ Description: link against tabixpp
Forwarded: not-needed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -150,6 +150,7 @@ set(vcflib_SOURCE
+@@ -158,6 +158,7 @@ add_library(vcflib SHARED
target_link_libraries(vcflib
PkgConfig::SMITHWATERMAN
PkgConfig::FASTAHACK
+ tabixpp
)
- if (TABIXPP_LOCAL) # add the tabixpp source file
+ set(BINS
View it on GitLab: https://salsa.debian.org/med-team/libvcflib/-/commit/ab0dea51a56697d83e470b61714624644cdf8a27
--
View it on GitLab: https://salsa.debian.org/med-team/libvcflib/-/commit/ab0dea51a56697d83e470b61714624644cdf8a27
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/20230117/b4317eed/attachment-0001.htm>
More information about the debian-med-commit
mailing list