Commit 066ea6d
committed
ENH: Add minimum policy version specification for external FFTW builds
Set `CMAKE_POLICY_VERSION_MINIMUM` using `ITK_OLDEST_VALIDATED_POLICIES_VERSION`
in FFTW external builds.
FFTW 3.3.10 sets the cmake minimum version to 3.0 which is deprecated in
cmake versions greater than 4.0.
Explicitly setting the CMAKE_POLICY_VERSION_MINIMUM when configuring the build for fftw overrides
the test and avoids build failures due to too old of minimum versions.1 parent 7af89a9 commit 066ea6d
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
148 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
0 commit comments