mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:34:31 +08:00
22 lines
754 B
Diff
22 lines
754 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d6717b19..3fb373be 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -453,16 +453,6 @@ if(WIN32)
|
|
src/proc/syncer-processing-block.h
|
|
src/proc/disparity-transform.h
|
|
)
|
|
-
|
|
- 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()
|