summaryrefslogtreecommitdiff
path: root/math/py-pyaudi/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-01-16 23:56:19 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2023-01-16 23:58:44 -0800
commit8bd99875f247b39eb434bb43b699ee9deb05d197 (patch)
tree56605956417b5cc85d96841becd7e01c22d3cded /math/py-pyaudi/files/patch-CMakeLists.txt
parentmath/audi: New port: Header only C++ library implementing the algebra of Tayl... (diff)
math/py-pyaudi: New port: Library implementing the algebra of Taylor polynomials
Diffstat (limited to 'math/py-pyaudi/files/patch-CMakeLists.txt')
-rw-r--r--math/py-pyaudi/files/patch-CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/math/py-pyaudi/files/patch-CMakeLists.txt b/math/py-pyaudi/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..4509ec5ec8db
--- /dev/null
+++ b/math/py-pyaudi/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+--- CMakeLists.txt.orig 2023-01-17 00:20:58 UTC
++++ CMakeLists.txt
+@@ -1,3 +1,10 @@
++
++cmake_minimum_required(VERSION 3.8)
++
++set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../cmake_modules" "${CMAKE_SOURCE_DIR}/../cmake_modules/yacma")
++
++include(YACMAPythonSetup)
++
+ # Python version check.
+ if(${PYTHON_VERSION_MAJOR} LESS 3)
+ message(FATAL_ERROR "Minimum supported Python version is 3.0")