vcpkg/ports/realsense2/crt-linkage-restriction.patch
Tsukasa Sugiura 75f43baedf Update librealsense v2.8.3
Update librealsense v2.8.3.
2017-12-24 23:46:16 +09:00

22 lines
750 B
Diff

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
)
-
- 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()