add CMakePackageConfigHelpers: configure_package_config_file()
The function configure_package_config_file() may be used instead of configure_file() for generating the Config.cmake files for installation, they help to make those files relocatable. Alex
Please register or sign in to comment