vcpkg/ports/azure-c-shared-utility/no-double-expand-cmake.patch

14 lines
642 B
Diff
Raw Normal View History

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)