No single precision symbols when building static FFTW3 library on macOS

Hi, not directly JUCE related. I need to statically link FFTW3 in my JUCE project. But it seems that on macOS I cannot manage to build/CMake a static library for single precision / float (while it worked on Windows).

I build like this:

cmake -B"cmake-build/x64" -DCMAKE_BUILD_TYPE=Release -G Xcode -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 -DBUILD_SHARED_LIBS=0 -DENABLE_FLOAT=1 -DENABLE_LONG_DOUBLE=0 -DENABLE_SSE=1 -DENABLE_SSE2=0 -DENABLE_AVX=0 -DENABLE_AVX2=0 -DDISABLE_FORTRAN=1
cmake --build "cmake-build/x64" --config Release

And I get a libfftw3f.a with the ‘f’ indicating that it shall be the float/single precision version.
But when I do
nm -a libfftw3f.a
I only get the _fftw symbols instead of the _fftwf symbols, e.g. _fftw_destroy_plan instead of _fftwf_destroy_plan.

Correspondingly linking in XCode (project with JUCE_DSP_USE STATIC_FFTW 1) fails with:

Undefined symbol: _fftwf_destroy_plan
Undefined symbol: _fftwf_execute_dft
Undefined symbol: _fftwf_execute_dft_c2r
Undefined symbol: _fftwf_execute_dft_r2c
Undefined symbol: _fftwf_plan_dft_1d
Undefined symbol: _fftwf_plan_dft_c2r_1d
Undefined symbol: _fftwf_plan_dft_r2c_1d
Linker command failed with exit code 1 (use -v to see invocation)

In Windows, doing the same thing (I believe),
dumpbin /symbols fftw3f.lib
is giving me the _fftwf* symbols as expected.

Has anyone an idea or seen something similar? Thanks.