Skip to content

Commit f6004b3

Browse files
committed
fix FFTW
1 parent b268220 commit f6004b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
cmake_minimum_required(VERSION 3.20)
1010

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")
1113

1214
# We include C as a language because - for some reason -
1315
# FIND_LIBRARY_USE_LIB64_PATHS is otherwise ignored.

0 commit comments

Comments
 (0)