{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1746416524,
"reponame":"libwebsockets",
"desc":"libwebsockets lightweight C networking library",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"051f28bedfdc1c7a39ce1bcae3606ea3",
"commit": {"type":"commit",
"time": 1702041786,
"time_ofs": 0,
"oid_tree": { "oid": "8c5eb75d258d0cc3bd19f5926487e0df3984d28e", "alias": []},
"oid":{ "oid": "cfa9d88e073533f7505853b6ed9e34ee80d8310f", "alias": []},
"msg": "cmake: fix build for iOS with CMake 3.28",
"sig_commit": { "git_time": { "time": 1702041786, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1702037656, "offset": 60 }, "name": "\u003d?UTF-8?q?Gae\u003dCC\u003d88tan\u003d20de\u003d20Vil", "email": "gdevillele@gmail.com", "md5": "7ad627a889dd43a4055fd230c4f2089b" }},
"body": "cmake: fix build for iOS with CMake 3.28\n"
,
"diff": "diff --git a/contrib/iOS.cmake b/contrib/iOS.cmake\nindex c929aa2..933cd6b 100644\n--- a/contrib/iOS.cmake\n+++ b/contrib/iOS.cmake\n@@ -28,6 +28,8 @@\n # A macro used to find executable programs on the host system, not within the iOS environment.\n # Thanks to the android-cmake project for providing the command\n \n+cmake_minimum_required(VERSION 3.5)\n+\n # Standard settings\n set (CMAKE_SYSTEM_NAME Darwin)\n set (CMAKE_SYSTEM_VERSION 1)\n@@ -42,7 +44,7 @@ set (CMAKE_OSX_DEPLOYMENT_TARGET \u0022\u0022 CACHE STRING \u0022Force unset of the deployment \n # Determine the cmake host system version so we know where to find the iOS SDKs\n find_program (CMAKE_UNAME uname /bin /usr/bin /usr/local/bin)\n if (CMAKE_UNAME)\n-\texec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION)\n+\texecute_process(COMMAND uname -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION)\n \tstring (REGEX REPLACE \u0022^([0-9]+)\u005c\u005c.([0-9]+).*$\u0022 \u0022\u005c\u005c1\u0022 DARWIN_MAJOR_VERSION \u0022${CMAKE_HOST_SYSTEM_VERSION}\u0022)\n endif (CMAKE_UNAME)\n \n@@ -132,7 +134,7 @@ endif ()\n \n # Setup iOS developer location unless specified manually with CMAKE_IOS_DEVELOPER_ROOT\n # Note Xcode 4.3 changed the installation location, choose the most recent one available\n-exec_program(/usr/bin/xcode-select ARGS -print-path OUTPUT_VARIABLE CMAKE_XCODE_DEVELOPER_DIR)\n+execute_process(COMMAND /usr/bin/xcode-select -print-path OUTPUT_VARIABLE CMAKE_XCODE_DEVELOPER_DIR OUTPUT_STRIP_TRAILING_WHITESPACE)\n set (XCODE_POST_43_ROOT \u0022${CMAKE_XCODE_DEVELOPER_DIR}/Platforms/${IOS_PLATFORM_LOCATION}/Developer\u0022)\n set (XCODE_PRE_43_ROOT \u0022/Developer/Platforms/${IOS_PLATFORM_LOCATION}/Developer\u0022)\n if (NOT DEFINED CMAKE_IOS_DEVELOPER_ROOT)\n","s":{"c":1746416524,"u": 2122}}
],"g": 3006,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}