OpenMiInk/third_party/krita-deps-management/ext_fftw3/cmake4.patch
Hellings b8c8ff98e2 Hi
2026-10-16 09:05:56 -04:00

22 lines
518 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6e4666..6f95f9d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.0)
+cmake_minimum_required (VERSION 3.29)
if (NOT DEFINED CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE Release CACHE STRING "Build type")
@@ -6,10 +6,6 @@ endif ()
project (fftw)
-if (POLICY CMP0042)
- cmake_policy (SET CMP0042 NEW)
-endif ()
-
option (BUILD_SHARED_LIBS "Build shared libraries" ON)
option (BUILD_TESTS "Build tests" ON)