GNUInstallDirs variable for license directory and CMake config files

I’ve noticed that VTK installs licenses to ${CMAKE_INSTALL_DATADIR}/licenses/VTK. Is there any plan to provide ${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME} as default install location for licenses in GNUInstallDirs? Should I default to installing my project’s licenses to ${CMAKE_INSTALL_DATADIR}/licenses/${PROJECT_NAME}?

Similarly, most library projects install their CMake config files to ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}, but not all. Is there any plan to add a variable to GNUInstallDirs to supply ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME} as the default install location for CMake package config files?

1 Like