Commit 56f73f05 authored by Alexander A. Maly's avatar Alexander A. Maly

Disabling warning C4251 with the compiler flag

parent a8373e69
Pipeline #2610 passed with stages
in 4 minutes and 5 seconds
...@@ -21,7 +21,7 @@ endif(NOT DEFINED KUMIR2_SDK_SRC_DIR) # sources required to build some componen ...@@ -21,7 +21,7 @@ endif(NOT DEFINED KUMIR2_SDK_SRC_DIR) # sources required to build some componen
if (MSVC) if (MSVC)
# Compile flags # Compile flags
set(KUMIR2_CXXFLAGS " -Zm300 -EHsc -GR -Y- -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -utf-8") set(KUMIR2_CXXFLAGS " -Zm300 -EHsc -GR -Y- -DWIN32 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -wd4251 -utf-8")
set(KUMIR2_CXXFLAGS_Release "-DNDEBUG -DQT_NO_DEBUG -MD") set(KUMIR2_CXXFLAGS_Release "-DNDEBUG -DQT_NO_DEBUG -MD")
set(KUMIR2_CXXFLAGS_Debug "-MDd -Zi") set(KUMIR2_CXXFLAGS_Debug "-MDd -Zi")
......
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