Commit c41d7a5f authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5485 un-screw-up coverage builds of statically linked binaries


git-svn-id: file:///svn/toku/tokudb@48064 c7de825b-a66e-492c-adef-691d508d4ae1
parent c40e0e7f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment