60ce4ee1ba
[ci skip]
11 lines
536 B
Diff
11 lines
536 B
Diff
--- cMake/FindPySide2Tools.cmake.ORIG
|
|
+++ cMake/FindPySide2Tools.cmake
|
|
@@ -68,7 +68,7 @@
|
|
# pyside-rcc generates in comments at beginning, which is why
|
|
# we follow the tool command with in-place sed.
|
|
ADD_CUSTOM_COMMAND(OUTPUT "${outfile}"
|
|
- COMMAND "${PYSIDE2RCCBINARY}" "${infile}" ${PY_ATTRIBUTE} -o "${outfile}"
|
|
+ COMMAND "${PYSIDE2RCCBINARY}" "${infile}" --generator python -o "${outfile}"
|
|
COMMAND sed -i "/^# /d" "${outfile}"
|
|
MAIN_DEPENDENCY "${infile}"
|
|
)
|