CPack, empty zip file on relative CPACK_PACKAGE_DIRECTORY
When CPACK_PACKAGE_DIRECTORY is given as relative directory, a zip file is created in the correct directory, but it's empty. The following definition:
set( CPACK_PACKAGE_DIRECTORY ${CMAKE_BINARY_DIR}/<rel_path> )
gives then the desired (correct) results on my machine. (Win10, 64bit, MSVC2015)
I propose to point this in the documentation or to fix this behaviour.
Regards, Andreas
Edited by Andreas Martin