summaryrefslogtreecommitdiff
path: root/math/py-pyaudi/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
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")