Skip to content

Commit 2a9d1b2

Browse files
committed
Merge pull request #1300 from nyanp:master
2 parents 3584d3c + eaa0224 commit 2a9d1b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/dnn_modern/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ elseif(MSVC)
157157
# this is fine
158158
add_definitions(-D _CRT_SECURE_NO_WARNINGS)
159159
add_definitions(-D _SCL_SECURE_NO_WARNINGS)
160+
add_definitions(-D NO_STRICT)
160161
# prolly powerless with header-only project
161162
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /MP")
162163
endif()

0 commit comments

Comments
 (0)