Skip to content

Commit

Permalink
Fixed Visual Studio compile flags for catch2
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed Nov 10, 2022
1 parent 7caa619 commit bdd0a90
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 @@ -63,7 +63,7 @@ elseif(WIN32)
libs/utf8_console/utf8_console.cpp
)

add_compile_options(/GR- /W1)
add_compile_options(/GR- /W1 /permissive- /Zc:hiddenFriend-)
set(MSVC_SHARED_RUNTIME OFF)
endif()

Expand Down

0 comments on commit bdd0a90

Please sign in to comment.