[CMake] Making the export function output relative paths

Stephen Kelly steveire at gmail.com
Thu May 14 13:11:57 EDT 2015


John van der Burg wrote:
> I basically need everything relative to the ${CUSTOM_ROOT} folder.
> 
> Any hints/help would be appreciated :)

Use install(EXPORT) instead:

 http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html

 http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f79d6025

Thanks,

Steve.




More information about the CMake mailing list