Skip to content

Commit 3167ff5

Browse files
committed
tinyxml2/CMakeLists.txt: disabled some Clang compiler warnings
1 parent 5dd4b60 commit 3167ff5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

externals/tinyxml2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1515
target_compile_options_safe(tinyxml2 -Wno-zero-as-null-pointer-constant)
1616
target_compile_options_safe(tinyxml2 -Wno-format-nonliteral)
1717
target_compile_options_safe(tinyxml2 -Wno-inconsistent-missing-destructor-override)
18+
target_compile_options_safe(tinyxml2 -Wno-sign-conversion)
19+
target_compile_options_safe(tinyxml2 -Wno-double-promotion)
1820
endif()
1921
if(CYGWIN)
2022
target_compile_definitions(-D_LARGEFILE_SOURCE) # required for fseeko() and ftello()

0 commit comments

Comments
 (0)