[CMake] CPack (RPM) and install()

Eric Noulard eric.noulard at gmail.com
Sun Jul 4 12:43:26 EDT 2010


2010/6/23 David Cole <david.cole at kitware.com>:
> Well known issue for quite some time now.
> See the quite extensive notes in this bug:
> http://public.kitware.com/Bug/view.php?id=7000
> You can set CPACK_SET_DESTDIR to ON in your CMakeLists.txt file to get this
> to work with the RPM CPack generator.
> It would be fabulous if there were a way to fix this once and for all to
> everyone's satisfaction. However, it's tricky, because there are many
> different variables involved: the interactions among which are not always
> immediately obvious. If somebody has a brilliant patch that can fix that
> issue without breaking existing projects' use cases of CPack, feel free to
> attach it to the bug and let me know....

I did attach a new one which would enable precise warning.

Fixing this for good was out-of-scope this time, but I'll will go back
on this ASAP.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list