]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Upgrade to zstd 1.4.5
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 8 Jul 2020 13:36:37 +0000 (15:36 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 6 Aug 2020 17:07:37 +0000 (19:07 +0200)
Fixes #631.

cmake/Findzstd.cmake

index d53ba955cc095c53d4971e40639437f6f0d6cec4..42de0cd9f8c573da298d294ebce4e3c0ea8304c1 100644 (file)
@@ -6,7 +6,7 @@ if(ZSTD_FROM_INTERNET)
   # Although ${zstd_FIND_VERSION} was requested, let's download a newer version.
   # Note: The directory structure has changed in 1.3.0; we only support 1.3.0
   # and newer.
-  set(zstd_version "1.4.4")
+  set(zstd_version "1.4.5")
   set(zstd_url https://github.com/facebook/zstd/archive/v${zstd_version}.tar.gz)
 
   set(zstd_dir ${CMAKE_BINARY_DIR}/zstd-${zstd_version})
@@ -27,7 +27,7 @@ if(ZSTD_FROM_INTERNET)
   set_target_properties(
     libzstd_static
     PROPERTIES
-    INTERFACE_INCLUDE_DIRECTORIES "${zstd_dir}/lib")
+    INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${zstd_dir}/lib>")
 
   set(zstd_FOUND TRUE)
 else()