Commit 4d401f28 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5485 fix gcov linking

git-svn-id: file:///svn/toku/tokudb@48037 c7de825b-a66e-492c-adef-691d508d4ae1
parent 737d1a64
...@@ -197,7 +197,7 @@ function(maybe_add_gcov_to_libraries) ...@@ -197,7 +197,7 @@ function(maybe_add_gcov_to_libraries)
foreach(lib ${ARGN}) foreach(lib ${ARGN})
add_space_separated_property(TARGET ${lib} COMPILE_FLAGS --coverage) add_space_separated_property(TARGET ${lib} COMPILE_FLAGS --coverage)
add_space_separated_property(TARGET ${lib} LINK_FLAGS --coverage) add_space_separated_property(TARGET ${lib} LINK_FLAGS --coverage)
target_link_libraries(${lib} LINK_INTERFACE_LIBRARIES_DEBUG gcov) target_link_libraries(${lib} LINK_INTERFACE_LIBRARIES gcov)
endforeach(lib) endforeach(lib)
endif (USE_GCOV) endif (USE_GCOV)
endfunction(maybe_add_gcov_to_libraries) 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