vcpkg/ports/paho-mqtt/remove_compiler_options.patch
2017-09-03 14:16:09 -07:00

14 lines
428 B
Diff

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