From 66af9b25f2ee40edd85f48c9e19771d715b211e0 Mon Sep 17 00:00:00 2001 From: Petro Rovenskyy Date: Wed, 7 Oct 2020 20:37:19 +0300 Subject: [PATCH] SPM define (#574) * carthage update. * build! * cleanup Package.swift * repair Xcode build. * update makefile * fixed podspec after SPM related changes. PIN xcode version on CI for Carthage and SPM jobs * fixed Xcode SPM integration * more Xcode integration work. * wrap spm * use pinterest/PINCache 3.0.2 * .define("PIN_WEBP", to: "1") for SPM * .define("USE_PINCACHE", to: "1") --- Package.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Package.swift b/Package.swift index 34b913de..253a4208 100644 --- a/Package.swift +++ b/Package.swift @@ -34,6 +34,9 @@ let package = Package( .headerSearchPath("AnimatedImages"), .headerSearchPath("ImageCategories"), .headerSearchPath("PinCache"), + + .define("USE_PINCACHE", to: "1"), + .define("PIN_WEBP", to: "1"), ]), ] )