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

refs #4871 link against stdc++ instead of c


git-svn-id: file:///svn/toku/tokudb@46046 c7de825b-a66e-492c-adef-691d508d4ae1
parent 90d72eba
...@@ -206,7 +206,7 @@ endfunction(add_space_separated_property) ...@@ -206,7 +206,7 @@ endfunction(add_space_separated_property)
function(set_targets_need_intel_libs) function(set_targets_need_intel_libs)
if (CMAKE_CXX_COMPILER_ID STREQUAL Intel) if (CMAKE_CXX_COMPILER_ID STREQUAL Intel)
foreach(tgt ${ARGN}) foreach(tgt ${ARGN})
target_link_libraries(${tgt} LINK_PUBLIC -Bstatic irc -Bdynamic c) target_link_libraries(${tgt} LINK_PUBLIC -Bstatic irc -Bdynamic stdc++)
endforeach(tgt) endforeach(tgt)
endif () endif ()
endfunction(set_targets_need_intel_libs) endfunction(set_targets_need_intel_libs)
......
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