void-packages/srcpkgs/krita/patches/cross.patch
2021-08-09 13:47:41 +02:00

13 lines
721 B
Diff

--- a/cmake/modules/SIPMacros.cmake 2021-08-03 10:57:54.000000000 +0200
+++ - 2021-08-08 14:01:32.004000529 +0200
@@ -124,8 +124,8 @@
ENDMACRO(ADD_SIP_PYTHON_MODULE)
else()
- find_file(sip_generate "sip-generate.py" PATHS ${CMAKE_MODULE_PATH})
- find_file(pyproject_toml "pyproject.toml.in" PATHS ${CMAKE_MODULE_PATH})
+ find_file(sip_generate "sip-generate.py" PATHS ${CMAKE_MODULE_PATH} REQUIRED NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
+ find_file(pyproject_toml "pyproject.toml.in" PATHS ${CMAKE_MODULE_PATH} REQUIRED NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
macro(add_sip_python_module_v5 MODULE_NAME MODULE_SIP)
get_filename_component(module_name_toml ${MODULE_SIP} NAME_WE)