• Daniele E. Domenichelli's avatar
    CMakePackageConfigHelpers: Add INSTALL_PREFIX option · d057bf85
    Daniele E. Domenichelli authored
    This option instructs configure_package_config_file to consider paths
    that are not absolute as relative to the INSTALL_PREFIX directory
    instead of relative to the CMAKE_INSTALL_PREFIX directory.
    If this argument is not passed, the default behaviour is to use
    the CMAKE_INSTALL_PREFIX variable.
    The new signature is therefore:
      configure_package_config_file(<input> <output> INSTALL_DESTINATION <path>
                                                     [PATH_VARS <var1> <var2> ... <varN>]
                                                     [INSTALL_PREFIX <path>])
CMakePackageConfigHelpers.cmake 13.5 KB