Skip to content

Commit

Permalink
Use /W0 instead of /w to avoid flag override warning
Browse files Browse the repository at this point in the history
  • Loading branch information
caseif committed Aug 5, 2023
1 parent f2fce5b commit 3d087ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function(_arp_disable_warnings target)

# add flag to disable all warnings
if(MSVC)
target_compile_options(${target} PRIVATE "/w")
target_compile_options(${target} PRIVATE "/W0")
elseif(GCC OR CLANG)
target_compile_options(${target} PRIVATE "-w")
endif()
Expand Down

0 comments on commit 3d087ab

Please sign in to comment.