Skip to content

Commit 91d86ec

Browse files
author
Steven Noonan
committed
cmake: disable stricmp deprecation warnings on msvc
Signed-off-by: Steven Noonan <[email protected]>
1 parent 8b0c4dc commit 91d86ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ print_default_msvc_flags()
2222
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
2323
add_definitions(
2424
-D_CRT_SECURE_NO_WARNINGS
25+
-D_CRT_NONSTDC_NO_WARNINGS
2526
)
2627
endif()
2728

0 commit comments

Comments
 (0)