Skip to content

Commit

Permalink
chore: silence self-move on AppleClang as well
Browse files Browse the repository at this point in the history
  • Loading branch information
zhihaoy committed Dec 9, 2024
1 parent ac1e077 commit ca6bcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/move_only_function/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ target_sources(run-move_only_function PRIVATE
"test_unique.cpp"
)
target_compile_options(run-move_only_function PRIVATE
$<$<COMPILE_LANG_AND_ID:CXX,Clang>:-Wno-self-move>
$<$<COMPILE_LANG_AND_ID:CXX,AppleClang,Clang>:-Wno-self-move>
$<$<COMPILE_LANG_AND_ID:CXX,Clang>:-fsized-deallocation>)
target_link_libraries(run-move_only_function PRIVATE nontype_functional kris-ut)
set_target_properties(run-move_only_function PROPERTIES OUTPUT_NAME run)
Expand Down

0 comments on commit ca6bcaf

Please sign in to comment.