Skip to content

Commit eaa0224

Browse files
author
nyanp
committed
Add a definition to fix error on MSVC
1 parent 3584d3c commit eaa0224

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)