CPACK_TEMPORARY_PACKAGE_FILE_NAME has incorrect value
CPACK_PACKAGE_FILES=C:/project/example/nuget/build/_CPack_Packages/win64/NuGet/example-1.0.2-win64/example.1.0.2.nupkg << Correct!
CPACK_TEMPORARY_INSTALL_DIRECTORY=C:/project/example/nuget/build/_CPack_Packages/win64/NuGet/example-1.0.2-win64 << Correct!
CPACK_TEMPORARY_PACKAGE_FILE_NAME=C:/project/example/nuget/build/_CPack_Packages/win64/NuGet/example-1.0.2-win64.nupkg << Not Correct!
The temporary nupkg file is generated as C:/project/example/nuget/build/_CPack_Packages/win64/NuGet/example-1.0.2-win64/example-1.0.2-win64.nupkg
, despite the CPACK_TEMPORARY_PACKAGE_FILE_NAME missing the extra /example-1.0.2-win64/
level.
Edited by Jan Wilmans