1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2018-06-08
Description: Use Debian packaged libraries
Forwarded: not-needed
--- spoa.orig/CMakeLists.txt
+++ spoa/CMakeLists.txt
@@ -115,43 +115,6 @@
endif ()
endif ()
-if (spoa_build_exe OR spoa_build_tests)
- find_package(bioparser 3.1.0 QUIET)
- find_package(biosoup 0.11.0 QUIET)
-
- if (NOT bioparser_FOUND)
- FetchContent_Declare(
- bioparser
- GIT_REPOSITORY https://github.com/rvaser/bioparser
- GIT_TAG 3.1.0)
-
- FetchContent_GetProperties(bioparser)
- if (NOT bioparser_POPULATED)
- FetchContent_Populate(bioparser)
- add_subdirectory(
- ${bioparser_SOURCE_DIR}
- ${bioparser_BINARY_DIR}
- EXCLUDE_FROM_ALL)
- endif ()
- endif ()
-
- if (NOT biosoup_FOUND)
- FetchContent_Declare(
- biosoup
- GIT_REPOSITORY https://github.com/rvaser/biosoup
- GIT_TAG 0.11.0)
-
- FetchContent_GetProperties(biosoup)
- if (NOT biosoup_POPULATED)
- FetchContent_Populate(biosoup)
- add_subdirectory(
- ${biosoup_SOURCE_DIR}
- ${biosoup_BINARY_DIR}
- EXCLUDE_FROM_ALL)
- endif ()
- endif ()
-endif ()
-
if (spoa_build_tests)
find_package(GTest 1.10.0 QUIET)
if (NOT GTest_FOUND)
@@ -260,8 +223,7 @@
target_link_libraries(spoa_exe
spoa
- bioparser::bioparser
- biosoup::biosoup)
+ z)
set_property(TARGET spoa_exe PROPERTY OUTPUT_NAME spoa)
@@ -277,8 +239,7 @@
target_link_libraries(spoa_test
spoa
- bioparser::bioparser
- biosoup::biosoup
+ z
GTest::Main)
target_include_directories(spoa_test PUBLIC
|