Commit d9d4f3d8 authored by Yuqiao Zeng's avatar Yuqiao Zeng
Browse files

Fix VS linking error

After cmake, Visual Studio gets the error like: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in svj.obj
parent 3051ae9b
......@@ -113,6 +113,8 @@ if(WIN32)
if(MSVC)
set(MSVC_CXX_FLAGS "-std=gnu++11")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MD")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MD")
if(BUILD_DEBUG)
set(CMAKE_BUILD_TYPE Debug)
......
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