From c2c3ed74ea610d558f5b0aa580118b17afe7bf45 Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Fri, 6 Feb 2026 19:48:02 +0900 Subject: [PATCH] Apply Clang workaround --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 137c462..66b2749 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,8 +124,10 @@ if(MSVC) INTERFACE # $<$:/INCREMENTAL:NO> # TODO ) - else() + if(CMAKE_CXX_COMPILER_ID MATCHES Clang) + target_compile_options(_iris_cxx_common INTERFACE -fno-builtin-std-forward_like) + endif() target_compile_options( _iris_cxx_common INTERFACE