I often configure projects with an empty install prefix and install with
DESTDIR set.  This works for most projects and they are relocatable. 
However, the configure_package_config_file function breaks if this is
done:

CMake Error at cmake/CMakePackageConfigHelpers.cmake:254 (file):
  file RELATIVE_PATH must be passed a full path to the file:
Call Stack (most recent call first):
  CMakeLists.txt:157 (configure_package_config_file)

It can't cope with this case.  It would be nice if it was able to cope
with this situation since the work it's doing is intended to make the
configuration relocatable.


Regards,
Roger Leigh

-- 

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-developers

Reply via email to