Commit eaa02248 authored by nyanp's avatar nyanp

Add a definition to fix error on MSVC

parent 3584d3c2
...@@ -157,6 +157,7 @@ elseif(MSVC) ...@@ -157,6 +157,7 @@ elseif(MSVC)
# this is fine # this is fine
add_definitions(-D _CRT_SECURE_NO_WARNINGS) add_definitions(-D _CRT_SECURE_NO_WARNINGS)
add_definitions(-D _SCL_SECURE_NO_WARNINGS) add_definitions(-D _SCL_SECURE_NO_WARNINGS)
add_definitions(-D NO_STRICT)
# prolly powerless with header-only project # prolly powerless with header-only project
set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /MP") set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} /MP")
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment