Skip to content

Commit

Permalink
cmake: add explicit MSVC /volatile:ms (required for arm) (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers authored Jul 18, 2022
1 parent c7bc6d9 commit 1e397ae
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 @@ -49,7 +49,7 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_EXTENSIONS OFF)

if(MSVC)
add_compile_options("/W3")
add_compile_options("/W3" "/volatile:ms")
else()
add_compile_options(
-Wall
Expand Down

0 comments on commit 1e397ae

Please sign in to comment.