Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libcxx/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ add_library( cxx-benchmarks-flags INTERFACE)
# requesting `cxx_std_23` results in an error -- somehow CMake fails to
# translate the `c++23` flag into `c++latest`, and the highest numbered C++
# version that MSVC flags support is C++20.
if (MSVC)
# ibm-clang does not recognize the cxx_std_32 flag, so use this as a temporary
# workaround on AIX as well.
if (MSVC OR ${CMAKE_SYSTEM_NAME} MATCHES "AIX")
add_compile_options(/std:c++latest)
else()
target_compile_features( cxx-benchmarks-flags INTERFACE cxx_std_23)
Expand Down