1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 22 Jan 2024 16:16:33 +0100
Description: Just ignore since we have Build-Depends: python3-skbuild
CMake Error at CMakeLists.txt:6 (find_package):
By not providing "FindPythonExtensions.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"PythonExtensions", but CMake did not find one.
Could not find a package configuration file provided by "PythonExtensions"
with any of the following names:
Index: sfepy-release_2025.2/CMakeLists.txt
===================================================================
--- sfepy-release_2025.2.orig/CMakeLists.txt
+++ sfepy-release_2025.2/CMakeLists.txt
@@ -3,6 +3,12 @@ project(sfepy C)
set(CMAKE_VERBOSE_MAKEFILE:BOOL ON)
+# Set the path to the directory containing your module file
+set(CUSTOM_CMAKE_MODULE_PATH "/usr/lib/python3/dist-packages/skbuild/resources/cmake")
+
+# Add the custom directory to the CMAKE_MODULE_PATH
+list(APPEND CMAKE_MODULE_PATH ${CUSTOM_CMAKE_MODULE_PATH})
+
find_package(PythonExtensions REQUIRED)
find_package(Cython REQUIRED)
find_package(NumPy REQUIRED)
|