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
|
Description: Exclude build directory for spdlog
remove subdir declaration from src/CMakeLists.txt and:
sed -i s/spdlog// src/{consensus,layout,filter,maximal}/CMakeLists.txt
Author: Afif Elghraoui <afif@debian.org>
Forwarded: not-needed
Last-Update: 2017-05-23
--- hinge.orig/src/CMakeLists.txt
+++ hinge/src/CMakeLists.txt
@@ -29,8 +29,6 @@
add_subdirectory(lib lib)
-add_subdirectory(spdlog)
-
#add_subdirectory(ogdf)
find_program(PANDOC pandoc)
--- hinge.orig/src/consensus/CMakeLists.txt
+++ hinge/src/consensus/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.2)
add_executable(draft_assembly draft)
-target_link_libraries(draft_assembly LAInterface ini falcon spdlog)
+target_link_libraries(draft_assembly LAInterface ini falcon )
add_executable(consensus consensus.cpp)
target_link_libraries(consensus LAInterface falcon ini)
--- hinge.orig/src/filter/CMakeLists.txt
+++ hinge/src/filter/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
add_executable(Reads_filter filter)
-target_link_libraries(Reads_filter LAInterface ini spdlog)
+target_link_libraries(Reads_filter LAInterface ini )
install(TARGETS Reads_filter DESTINATION ${libexec})
--- hinge.orig/src/layout/CMakeLists.txt
+++ hinge/src/layout/CMakeLists.txt
@@ -6,6 +6,6 @@
INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} )
add_executable(hinging hinging)
-target_link_libraries(hinging LAInterface ini spdlog ${Boost_LIBRARIES})
+target_link_libraries(hinging LAInterface ini ${Boost_LIBRARIES})
install(TARGETS hinging DESTINATION ${libexec})
--- hinge.orig/src/maximal/CMakeLists.txt
+++ hinge/src/maximal/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.2)
add_executable(get_maximal_reads maximal)
-target_link_libraries(get_maximal_reads LAInterface ini spdlog)
+target_link_libraries(get_maximal_reads LAInterface ini )
install(TARGETS get_maximal_reads DESTINATION ${libexec})
|