Skip to content

Commit 3e94760

Browse files
committed
Avoid warnings in Windows
1 parent a2d4db8 commit 3e94760

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if(MSVC)
3535
# disable
3636
/wd4100 # 'identifier': unreferenced parameter
3737
)
38+
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
3839
else()
3940
add_compile_options(
4041
-Wall

0 commit comments

Comments
 (0)