[med-svn] [Git][med-team/metabat][master] Really fix cmake config
Andreas Tille
gitlab at salsa.debian.org
Fri May 29 11:17:59 BST 2020
Andreas Tille pushed to branch master at Debian Med / metabat
Commits:
17b7c562 by Andreas Tille at 2020-05-29T12:17:43+02:00
Really fix cmake config
- - - - -
1 changed file:
- debian/patches/use_debian_packaged_libs.patch
Changes:
=====================================
debian/patches/use_debian_packaged_libs.patch
=====================================
@@ -49,24 +49,22 @@ Last-Update: Thu, 28 May 2020 17:21:42 +0200
# find and use OpenMP
find_package(OpenMP)
-@@ -36,8 +38,8 @@ set(targets metabat1 metabat2)
+@@ -36,8 +38,7 @@ set(targets metabat1 metabat2)
foreach(target ${targets})
add_executable(${target} ${target}.cpp)
- add_dependencies(${target} htslib zlib check_git_repository)
- target_link_libraries(${target} ${zlib_LIB} ${Boost_LIBRARIES} ${EXTRALIBS} )
-+ add_dependencies(${target} htslib zlib)
+ target_link_libraries(${target} ${HTSlib_LIBRARIES} ZLIB::ZLIB ${Boost_LIBRARIES} ${EXTRALIBS} )
endforeach()
-@@ -48,8 +50,8 @@ install(TARGETS ${targets}
+@@ -48,8 +49,7 @@ install(TARGETS ${targets}
set(targets jgi_summarize_bam_contig_depths contigOverlaps)
foreach(target ${targets})
add_executable(${target} ${target}.cpp)
- add_dependencies(${target} htslib zlib check_git_repository)
- target_link_libraries(${target} ${htslib_LIB} ${zlib_LIB} ${Boost_LIBRARIES} )
-+ add_dependencies(${target} htslib zlib)
+ target_link_libraries(${target} ${HTSlib_LIBRARIES} ZLIB::ZLIB ${Boost_LIBRARIES} )
endforeach()
View it on GitLab: https://salsa.debian.org/med-team/metabat/-/commit/17b7c562fcfbaa05a19ff9c77bebfb881473ad8b
--
View it on GitLab: https://salsa.debian.org/med-team/metabat/-/commit/17b7c562fcfbaa05a19ff9c77bebfb881473ad8b
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/20200529/a522741e/attachment-0001.html>
More information about the debian-med-commit
mailing list