2017-12-24 22:46:16 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
index a59e2513..3b08f490 100644
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -420,16 +420,6 @@ if(WIN32)
|
|
|
|
src/proc/temporal-filter.h
|
|
|
|
src/proc/syncer-processing-block.h
|
2017-11-07 15:59:02 +08:00
|
|
|
)
|
|
|
|
-
|
|
|
|
- foreach(flag_var
|
|
|
|
- CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
|
|
|
|
- CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
|
|
|
- CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE
|
|
|
|
- CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO)
|
|
|
|
- if(${flag_var} MATCHES "/MD")
|
|
|
|
- string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
|
|
|
|
- endif(${flag_var} MATCHES "/MD")
|
|
|
|
- endforeach(flag_var)
|
|
|
|
else()
|
|
|
|
|
|
|
|
endif()
|