diff --git a/community/gmic/FindCImg.cmake b/community/gmic/FindCImg.cmake index 61f5f06c0..88598cde7 100644 --- a/community/gmic/FindCImg.cmake +++ b/community/gmic/FindCImg.cmake @@ -87,17 +87,11 @@ if(ENABLE_X) endif() if(ENABLE_FFTW) - find_package(Fftw) + find_package(FFTW3) if(Fftw_FOUND) list(APPEND COMPILE_FLAGS "cimg_use_fftw3") - list(APPEND EXTRA_LIBRARY_TARGETS Fftw::Fftw) - - if(TARGET Fftw::Threads) - list(APPEND EXTRA_LIBRARY_TARGETS Fftw::Threads) - else() - list(APPEND COMPILE_FLAGS "cimg_use_fftw3_singlethread") - endif() + list(APPEND EXTRA_LIBRARY_TARGETS ${FFTW3_LIBRARIES}) endif() endif() diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD index 431ad3121..0ad90f311 100644 --- a/community/gmic/PKGBUILD +++ b/community/gmic/PKGBUILD @@ -11,7 +11,7 @@ highmem=1 pkgbase=gmic pkgname=(gmic gimp-plugin-gmic) -pkgver=3.1.0 +pkgver=3.1.1 pkgrel=1 arch=(x86_64) url='https://gmic.eu/' @@ -19,9 +19,9 @@ license=(custom:CeCILL) makedepends=(cmake gimp qt5-base fftw openexr opencv eigen graphicsmagick qt5-tools) source=(https://gmic.eu/files/source/gmic_$pkgver.tar.gz CMakeLists.txt FindCImg.cmake FindGMicStdlib.cmake) -sha256sums=('f0d5ae484d43e385b028557b20242ceaf277ef76fab441c5a019f6c2aa3c30cf' +sha256sums=('1bc784dc97107edf397f0b1b93f756bfd99a349acc1885b507f24cfde0765402' '089c4ad204a1ed43c9425e3f39e5a3a8bab3d6e8c4fb5a6dfc69e0fca15abd15' - 'ade482f84be84391b2b5f5f7ee6f4a2dc176bc272853c7cd0c5f40882ed6eb2f' + 'f86a09f1fe32681434f68e9a50aacc6a3cf447e73f4f2cb5fe5fa45f72ba5b26' '83e4635a6fd101511381bc865255f4de88834da51911ce3eb45ddac2558cabcc') prepare() {