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.66k stars 651 forks source link

FFTW3LibraryDepends.cmake missing from autotools build #332

Open 20DM opened 10 months ago

20DM commented 10 months ago

Hi,

the CMake config file appears to reference a FFTW3LibraryDepends.cmake which doesn't seem to exist:

https://github.com/FFTW/fftw3/blob/38ea230e25e69e7a3f35b957b815bac4f9aa22b0/FFTW3Config.cmake.in#L13

Is this by accident or am I missing something...?

Cheers, Chris

stevengj commented 10 months ago

It's generated by the rules in CMakeLists.txt when you run cmake

20DM commented 10 months ago

.. but not when you build with autotools, which is the default. The builds are inconsistent currently as far as I can tell.

stevengj commented 10 months ago

Yes, it might be better just to omit the FFTW3Config.cmake installation from the autotools build completely.

20DM commented 10 months ago

For what it's worth, when I build FFTW with autotools (or using Homebrew) and then manually remove that include line from the FFTW3Config.cmake, I can still link against the package just fine with my separate CMake-based application.