We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81dd52d commit d2fafc9Copy full SHA for d2fafc9
CMakeLists.txt
@@ -8,6 +8,8 @@
8
9
cmake_minimum_required(VERSION 3.20)
10
11
+# Set minimum policy version to 3.5 to fix FFTW compilation with CMake 4.0+
12
+set(CMAKE_POLICY_VERSION_MINIMUM "3.5" CACHE STRING "Minimum CMake policy version")
13
14
# We include C as a language because - for some reason -
15
# FIND_LIBRARY_USE_LIB64_PATHS is otherwise ignored.
toolchain/dependencies/CMakeLists.txt
@@ -36,6 +36,7 @@ if (MFC_FFTW)
36
URL "http://www.fftw.org/fftw-3.3.10.tar.gz"
37
CMAKE_ARGS -DBUILD_TESTS=OFF
38
-DBUILD_SHARED_LIBS=OFF
39
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5
40
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
41
)
42
else()
0 commit comments