vcpkg/ports/paho-mqtt/remove_compiler_options.patch

14 lines
428 B
Diff
Raw Normal View History

2017-09-04 05:16:09 +08:00
diff --git "a/CMakeLists.txt" "b/CMakeLists.txt"
index 2feb580..796d08e 100644
--- "a/CMakeLists.txt"
+++ "b/CMakeLists.txt"
@@ -55,7 +55,7 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
ENDIF()
IF(WIN32)
- ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN -MD)
+ ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE -DWIN32_LEAN_AND_MEAN)
ELSEIF(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
ADD_DEFINITIONS(-DOSX)
ENDIF()