Skip to content

Commit 5c2328c

Browse files
committed
cmake: Add _CRT_NONSTDC_NO_WARNINGS def to all projects
1 parent 2d84da2 commit 5c2328c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ elseif(MSVC)
6262
endif()
6363

6464
if(WIN32)
65-
add_definitions(-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS)
65+
add_definitions(-DUNICODE -D_UNICODE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_WARNINGS)
6666
endif()
6767

6868
if(MSVC)

0 commit comments

Comments
 (0)