Commit 0ba4ad20 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4871] fix ipo warnings when compiling range_tree/lock_tree tests

git-svn-id: file:///svn/toku/tokudb@44735 c7de825b-a66e-492c-adef-691d508d4ae1
parent 17c79a4f
......@@ -11,7 +11,7 @@ if(BUILD_TESTING)
set_property(TARGET lt_${base}.${impl} APPEND PROPERTY
COMPILE_DEFINITIONS "TESTDIR=\"dir.${base}.c.${impl}\"")
add_common_options_to_binary_targets(lt_${base}.${impl})
target_link_libraries(lt_${base}.${impl} lock_tree_${impl})
target_link_libraries(lt_${base}.${impl} lock_tree_${impl} ${LIBTOKUPORTABILITY})
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "dir.${base}.c.${impl}")
add_test(lock_tree/${base}.${impl} lt_${base}.${impl})
......
......@@ -11,7 +11,7 @@ if(BUILD_TESTING)
set_property(TARGET rt_${base}.${impl} APPEND PROPERTY
COMPILE_DEFINITIONS "TESTDIR=\"dir.${base}.c.${impl}\"")
add_common_options_to_binary_targets(rt_${base}.${impl})
target_link_libraries(rt_${base}.${impl} range_tree_${impl})
target_link_libraries(rt_${base}.${impl} range_tree_${impl} ${LIBTOKUPORTABILITY})
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "dir.${base}.c.${impl}")
add_test(range_tree/${base}.${impl} rt_${base}.${impl})
......
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