[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
This commit is contained in:
Leif Walsh 2013-04-17 00:00:51 -04:00 committed by Yoni Fogel
parent 719d534277
commit f4f5ef8d49
2 changed files with 2 additions and 2 deletions

View file

@ -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})

View file

@ -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})