I’m giving the new innosetup generator a try.
Good news, it works
I noticed that CPACK_PACKAGE_ICON and CPACK_RESOURCE_LICENSE_FILE don’t interpret relative paths as relative to CMAKE_CURRENT_SOURCE_DIR.
is not enough, I have to do
the same for CPACK_RESOURCE_LICENSE_FILE.
Is this expected behaviour or a bug ?
I assume you meant
CPACK_RESOURCE_FILE_LICENSE. That should always be specified as an absolute path. I don’t have specific notes for
CPACK_PACKAGE_ICON, but I would assume it too should be an absolute path. I would assume this needs to be the case because the variables are simply passed through to
cpack, they are not used directly during CMake’s configure step. By the time
cpack runs, it has no concept of