diff options
author | Abseil Team <absl-team@google.com> | 2022-08-22 12:25:07 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-08-22 12:26:09 -0700 |
commit | c561515182e8c67fadae009f5368ab72b6f19786 (patch) | |
tree | 4c4b101f16b5b8199b8346c63433528ddfb49e40 /absl/algorithm/container.h | |
parent | f7474d4961b769c34a08475110ba391e5926e893 (diff) | |
download | abseil-c561515182e8c67fadae009f5368ab72b6f19786.tar.gz abseil-c561515182e8c67fadae009f5368ab72b6f19786.tar.bz2 abseil-c561515182e8c67fadae009f5368ab72b6f19786.zip |
Support compilers that are unknown to CMake
Abseil failed to configure with `ABSL_PROPAGATE_CXX_STD` if the compiler was not known to CMake:
target_compile_features no known features for CXX compiler
Turns the error into a warning by checking `CMAKE_CXX_COMPILE_FEATURES`
before calling `target_compile_features`.
PiperOrigin-RevId: 469254470
Change-Id: Ifba006dcdbf6a7112e382075b24678a792dbc827
Diffstat (limited to 'absl/algorithm/container.h')
0 files changed, 0 insertions, 0 deletions