From 3dbcdf4794e6301e3309b6dcaf2a6aa9ed89d372 Mon Sep 17 00:00:00 2001 From: Leif Walsh <leif@tokutek.com> Date: Wed, 17 Apr 2013 00:01:08 -0400 Subject: [PATCH] refs #5485 un-screw-up coverage builds of statically linked binaries git-svn-id: file:///svn/toku/tokudb@48064 c7de825b-a66e-492c-adef-691d508d4ae1 --- cmake_modules/TokuSetupCompiler.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_modules/TokuSetupCompiler.cmake b/cmake_modules/TokuSetupCompiler.cmake index dfa95368a8d..eb71e3c782e 100644 --- a/cmake_modules/TokuSetupCompiler.cmake +++ b/cmake_modules/TokuSetupCompiler.cmake @@ -197,7 +197,7 @@ function(maybe_add_gcov_to_libraries) foreach(lib ${ARGN}) add_space_separated_property(TARGET ${lib} COMPILE_FLAGS --coverage) add_space_separated_property(TARGET ${lib} LINK_FLAGS --coverage) - target_link_libraries(${lib} LINK_INTERFACE_LIBRARIES gcov) + target_link_libraries(${lib} gcov) endforeach(lib) endif (USE_GCOV) endfunction(maybe_add_gcov_to_libraries)