vcpkg/ports/azure-c-shared-utility/no-double-expand-cmake.patch
Jelani Brandon 751db7b568 Update Azure IoTHub packages for new release (#5000)
* Update Azure IoTHub packages for new release

* [azure-c-shared-utility] Avoid double expanding variables
2019-01-08 15:26:06 -08:00

14 lines
642 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 190ea87..a434cee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -264,7 +264,7 @@ if(${use_applessl})
include_directories(./pal/ios-osx/)
endif()
-if (WIN32 AND (${CMAKE_SYSTEM_VERSION} VERSION_EQUAL "10.0.17763.0" OR ${CMAKE_SYSTEM_VERSION} VERSION_GREATER "10.0.17763.0"))
+if (WIN32 AND (CMAKE_SYSTEM_VERSION VERSION_EQUAL "10.0.17763.0" OR CMAKE_SYSTEM_VERSION VERSION_GREATER "10.0.17763.0"))
# Windows added support for UNIX domain sockets to the OS and SDK
# in the Oct 2018 update (10.0.17763.0, aka RS5)
add_definitions(-DAF_UNIX_ON_WINDOWS)