Skip to content

Commit e082fc4

Browse files
authored
Merge pull request #774 from kbenzie/clang-cl-no-analyze
clang-cl.exe does not support /analyze flag
2 parents 3674f6f + bfe5cbd commit e082fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/helpers.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function(add_umf_target_compile_options name)
258258
${name}
259259
PRIVATE /MD$<$<CONFIG:Debug>:d>
260260
$<$<CONFIG:Release>:/sdl>
261-
/analyze
261+
$<$<CXX_COMPILER_ID:MSVC>:/analyze>
262262
/DYNAMICBASE
263263
/W4
264264
/Gy

0 commit comments

Comments
 (0)