Skip to content

Commit c2c3ed7

Browse files
committed
Apply Clang workaround
1 parent ef4da2a commit c2c3ed7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,10 @@ if(MSVC)
124124
INTERFACE
125125
# $<$<CONFIG:Debug,RelWithDebInfo>:/INCREMENTAL:NO> # TODO
126126
)
127-
128127
else()
128+
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
129+
target_compile_options(_iris_cxx_common INTERFACE -fno-builtin-std-forward_like)
130+
endif()
129131
target_compile_options(
130132
_iris_cxx_common
131133
INTERFACE

0 commit comments

Comments
 (0)