Skip to content

Commit 7efb8ed

Browse files
committed
Fix g++ warnings
1 parent ed6c0c7 commit 7efb8ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/cmake_core.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
296296
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-tautological-type-limit-compare>"
297297
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-cast-qual>"
298298
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-reserved-identifier>"
299-
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-missing-prototypes>"
299+
" $<$<CXX_COMPILER_ID:${CLANG_LIKE}>: -Wno-missing-prototypes>"
300300
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-missing-field-initializers>"
301301
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-suggest-override>"
302302
" $<$<NOT:$<CXX_COMPILER_ID:MSVC>>: -Wno-used-but-marked-unused>"

0 commit comments

Comments
 (0)