Skip to content

Commit 853e658

Browse files
committed
Disable flag for non-msvc
1 parent 8350b47 commit 853e658

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/analyze/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ rocm_enable_cppcheck(
4141
)
4242

4343
# Workaround clangTooling issue: https://github.com/llvm/llvm-project/issues/100909
44-
add_compile_options(-Wno-unused-command-line-argument)
44+
if(NOT MSVC)
45+
add_compile_options(-Wno-unused-command-line-argument)
46+
endif()
4547

4648
rocm_setup_version(VERSION 1.0.0)
4749

0 commit comments

Comments
 (0)