Skip to content

Commit f5bd877

Browse files
Archiver_Mtl: fixed XCode 16 build issue
1 parent 35ce987 commit f5bd877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Graphics/Archiver/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if(METAL_SUPPORTED)
5656
set_property(SOURCE ${MTL_SOURCE} APPEND_STRING PROPERTY
5757
# Disable Metal API deprecation warnings such as
5858
# 'MTLArgumentType' is deprecated: first deprecated in macOS 13.0
59-
COMPILE_FLAGS " -Wno-deprecated-declarations"
59+
COMPILE_FLAGS " -Wno-deprecated-declarations -std=c++17"
6060
)
6161
endif()
6262

0 commit comments

Comments
 (0)