Im trying to package kicad with the latest stable version using the original spec from pclos SRPM, however I made some changes. Among them, I saw the original specfile was invoking cmake directly, so I changed it to use the cmake macro. A couple of patches later, the code compiles fine, but when trying to link the binaries it throws an error. This did not happen when invoking cmake directly.
The question is: Should I stick to invoking cmake directly or should I try to make it work with the macro?
Thank you for the help