Skip to content

Commit

Permalink
Workaround to disable C4996 in external fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vt4a2h committed Nov 11, 2024
1 parent fcdced6 commit 4ffa0a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,12 @@ target_link_libraries(tests PRIVATE
fl
)

if(MSVC)
target_compile_options(tests
PRIVATE
"/wd4996;" # external warning in fmt
)
endif()

include(Catch)
catch_discover_tests(tests)

0 comments on commit 4ffa0a5

Please sign in to comment.