Skip to content

bump cmake min required version#386

Merged
stevengj merged 1 commit intoFFTW:masterfrom
iboB:bump-cmake-min-ver
Apr 22, 2026
Merged

bump cmake min required version#386
stevengj merged 1 commit intoFFTW:masterfrom
iboB:bump-cmake-min-ver

Conversation

@iboB
Copy link
Copy Markdown
Contributor

@iboB iboB commented Aug 26, 2025

CMake support for versions <3.10 is deprecated and to be removed soon. Configuring fftw3 with the current min version leads to lengthy CMake warnings which clog the configure log.

@stevengj
Copy link
Copy Markdown
Contributor

It's annoying that merely being compatible with old versions (not requiring them) leads to warnings. 3.10 is only 7 years old.

@egpbos
Copy link
Copy Markdown

egpbos commented Nov 14, 2025

Alternative would be to change to a more explicit range of compatible versions: cmake_minimum_required (VERSION 3.0...4.0). This would have the benefit of also fixing #381 which means one can again build with CMake 4 (which currently doesn't work).

@jschueller
Copy link
Copy Markdown

+1

@stevengj
Copy link
Copy Markdown
Contributor

Seems like we might as well merge this since it is causing problems, and we don't care that much about supporting old cmake versions anyway.

@stevengj stevengj merged commit 2308742 into FFTW:master Apr 22, 2026
@stevengj
Copy link
Copy Markdown
Contributor

(The primary build system for FFTW continues to be autoconf/configure … cmake was mainly included for Windows users.)

@egpbos
Copy link
Copy Markdown

egpbos commented Apr 22, 2026

This fixes #381.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants