]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Remove Xcode assembly workaround for zstd (#1463)
authorGregor Jasny <gjasny@googlemail.com>
Fri, 31 May 2024 18:20:03 +0000 (20:20 +0200)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 18:20:03 +0000 (20:20 +0200)
The fix is included in upstream zstd 1.5.6.

cmake/FindZstd.cmake

index 662c1f3e37bf70e9c8362dcdb3d1cc70a4962b01..eb7d7325d33f71accd712e9c56306bf4f76d38ef 100644 (file)
@@ -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)