Skip to content

Commit 3118cdb

Browse files
Updates tiny_gltf
1 parent 22e4fbb commit 3118cdb

File tree

4 files changed

+22154
-12469
lines changed

4 files changed

+22154
-12469
lines changed

build-utils/cmake/compiler_settings.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ else()
8686
add_compile_options(-Wno-ignored-attributes)
8787
endif()
8888

89+
check_cxx_compiler_flag("-Wdeprecated-literal-operator" W_DEPRECATED_LITERAL_OPERATOR)
90+
if(W_DEPRECATED_LITERAL_OPERATOR)
91+
add_compile_options(-Wno-deprecated-literal-operator)
92+
endif()
93+
8994
# Disables c98 retrocompatibility warnings
9095
check_cxx_compiler_flag("-Wc++98-compat-pedantic" W_98_COMPAT_PEDANTIC)
9196

0 commit comments

Comments
 (0)