vcpkg/ports/paho-mqtt/remove_compiler_options.patch
Lily 53b9f6eb5c
[paho-mqtt] Update to version 1.3.5 (#13680)
* [paho-mqtt] Update to version 1.3.5

* [paho-mqtt] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqttpp3] Fix build error

* [paho-mqtt] Fix old patch

* [paho-mqtt] Add vcpkg_copy_tools

* [paho-mqtt] Fix build error
2020-11-11 15:18:34 -08:00

14 lines
409 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 531c39c..3df385a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ IF (PAHO_HIGH_PERFORMANCE)
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()