Kornel Benko wrote:
That is true. But where would you get the other CPackConfig.cmake-files?
Therefore we could write our own config file which then includes the
generated one.
And you had to know, what to write into such a file.
I attach such a file from my ubuntu system. As you can see, the patch-
variables are ok for my system, but not for some another.
I cannot send the appropriate rpm-spec, because on this (ubuntu) system the
cmake refuses to create one.
Ok I understand, cpack only creates packages for the build system: on
Ubuntu I could not create rpm packages, only debs. But this deb package
is a valid ubuntu package. Therefor we don't need additional spec files,
cpack simply does not support "cross-distribution" packaging.
Peter