From a0f31a34d99021f69750637b56bba4e7936b136f Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Fri, 22 Jul 2016 17:16:47 +0300 Subject: [PATCH] Try to restore static build --- assembler/src/projects/mph_test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assembler/src/projects/mph_test/CMakeLists.txt b/assembler/src/projects/mph_test/CMakeLists.txt index 0d0a3d89f6..7338861810 100644 --- a/assembler/src/projects/mph_test/CMakeLists.txt +++ b/assembler/src/projects/mph_test/CMakeLists.txt @@ -13,3 +13,7 @@ add_executable(spades-kmercount main.cpp) target_link_libraries(spades-kmercount spades_modules ${COMMON_LIBRARIES}) + +if (SPADES_STATIC_BUILD) + set_target_properties(spades-kmercount PROPERTIES LINK_SEARCH_END_STATIC 1) +endif()