Commit 592d4642 authored by Gennadiy Rozental's avatar Gennadiy Rozental
Browse files

Merge pull request #2808 from OlivierLDff:cmake-cpp11-feature

PiperOrigin-RevId: 320222294
parents 017c8d56 131878ce
......@@ -188,6 +188,10 @@ function(cxx_library_with_type name type cxx_flags)
endif()
target_link_libraries(${name} PUBLIC ${threads_spec})
endif()
if (NOT "${CMAKE_VERSION}" VERSION_LESS "3.8")
target_compile_features(${name} PUBLIC cxx_std_11)
endif()
endfunction()
########################################################################
......
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