Closed MarekPasnikowski closed 4 months ago
You are right, as this option is not tested in CI. Would you provide your patch as a PR?
I could.
Does the dummy code look appropriate to you? I have zero knowledge of the programming languages involved here and this report is the result of my work towards packaging an application in Guix.
I will do the appropriate PR, and add the appropriate tests in CI. The file that is generated should be OUTPUT_FILE_HPP
, and I guess an empty OUTPUT_FILE_CPP
should be generated
https://github.com/OlivierLDff/Qaterial/pull/151 should fix your issue :)
https://github.com/OlivierLDff/Qaterial/blame/cf5a5ef064c3deaaf54faff722a808544e7a87f0/cmake/QaterialGenerateIcons.cmake#L184
The last update to the function introduced new arguments, but this change was not implemented in the ENABLE_ICONS=OFF branch.
I was able to complete the compilation with the attached change, but this patch is a blind copy-paste of code with some cuts and renames — the chance that this is the correct solution is very low.
PS: To my frustration, GitHub does not allow me to attach neither a .patch, nor a .cmake file, so I am dumping the .patch below: