FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.72k stars 661 forks source link

3.3.9: Autotools lacks FFTW3LibraryDepends.cmake #235

Open ax3l opened 3 years ago

ax3l commented 3 years ago

Hi,

I encounter a problem when searching for an Autotools-build FFTW3 with CMake.

The installed file FFTW3(f)Config.cmake includes inline 13 the file FFTW3LibraryDepends.cmake. But with autotools installs, it looks like this file is not installed, leading to an find_package(FFTW3 CONFIG) error of the form:

CMake Error at lib/cmake/fftw3/FFTW3Config.cmake:13 (include):
  include could not find load file:

    lib/cmake/fftw3/FFTW3LibraryDepends.cmake

https://github.com/FFTW/fftw3/blob/fftw-3.3.9/FFTW3Config.cmake.in#L13

I think the file FFTW3LibraryDepends.cmake is forgotten in the Autotools install logic: https://github.com/FFTW/fftw3/blob/fftw-3.3.9/Makefile.am#L157

cc @junghans

ax3l commented 3 years ago

Argh, I just added a closer description of #130. Duplicate.