I am trying to build rpms for projects so they can be installed together
using a modified yum into a user defined area as
<new_prefix>/<project>/<platform>/<installed_binaries>
hence the rpms should look like
<relocatable>/<project>/<platform>/<installed_binaries>
The only way I could find to do this was to
set(CPACK_PACKAGING_INSTALL_PREFIX <relocatable>)
set(CPACK_INSTALL_PREFIX <relocatable>/<project>/<platform>)
and then call an install script which simply does
SET(CPACK_SET_DESTDIR "")
This doesn't make make much sense and I feel I must have missed
something
out particularly as I am using version 3.0.1 and the above is not
necessarily compatible with other versions.
I'd be grateful for any advice or a more sensible approach
Thank you
Stan Thompson
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake