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
|
Author: Andreas Tille <[email protected]>
Last-Update: Fri, 08 Jun 2018 13:20:51 0200
Description: Use Debian packaged libraries
--- a/CMakeLists.txt
b/CMakeLists.txt
@@ -45,11 45,7 @@ if (spoa_build_executable)
src/sequence.cpp
src/main.cpp)
- if (NOT TARGET bioparser)
- add_subdirectory(vendor/bioparser EXCLUDE_FROM_ALL)
- endif()
-
- target_link_libraries(spoa_bin spoa bioparser)
target_link_libraries(spoa_bin spoa z)
set_target_properties(spoa_bin PROPERTIES OUTPUT_NAME spoa)
install(TARGETS spoa_bin DESTINATION ${CMAKE_INSTALL_BINDIR})
@@ -66,10 62,5 @@ if (spoa_build_tests)
src/sequence.cpp
test/spoa_test.cpp)
- if (NOT TARGET bioparser)
- add_subdirectory(vendor/bioparser EXCLUDE_FROM_ALL)
- endif()
- add_subdirectory(vendor/googletest/googletest EXCLUDE_FROM_ALL)
-
- target_link_libraries(spoa_test spoa bioparser gtest_main)
target_link_libraries(spoa_test spoa gtest_main gtest z pthread)
endif(spoa_build_tests)
|