From: Gregor Jasny Date: Fri, 31 May 2024 18:20:03 +0000 (+0200) Subject: chore: Remove Xcode assembly workaround for zstd (#1463) X-Git-Tag: v4.11~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2950646b473ee1c53aafca4b912ea58967949dc7;p=thirdparty%2Fccache.git chore: Remove Xcode assembly workaround for zstd (#1463) The fix is included in upstream zstd 1.5.6. --- diff --git a/cmake/FindZstd.cmake b/cmake/FindZstd.cmake index 662c1f3e..eb7d7325 100644 --- a/cmake/FindZstd.cmake +++ b/cmake/FindZstd.cmake @@ -35,11 +35,6 @@ endif() if(_download_zstd) set(_zstd_version_string 1.5.6) - if(XCODE) - # See https://github.com/facebook/zstd/pull/3665 - set(_zstd_patch PATCH_COMMAND sed -i .bak -e "s/^set_source_files_properties.*PROPERTIES.*LANGUAGE.*C/\\#&/ build/cmake/lib/CMakeLists.txt") - endif() - set(ZSTD_BUILD_PROGRAMS OFF) set(ZSTD_BUILD_SHARED OFF) set(ZSTD_BUILD_STATIC ON)